mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-10-13 23:34:12 +02:00
Change SIM_SOPT7 setting.
This commit is contained in:
+1
-1
@@ -128,7 +128,7 @@ void CIO::startInt()
|
|||||||
CORE_PIN13_CONFIG = PORT_PCR_MUX(3);
|
CORE_PIN13_CONFIG = PORT_PCR_MUX(3);
|
||||||
|
|
||||||
// Set ADC0 to trigger from the LPTMR
|
// Set ADC0 to trigger from the LPTMR
|
||||||
SIM_SOPT7 |= SIM_SOPT7_ADC0ALTTRGEN |
|
SIM_SOPT7 = SIM_SOPT7_ADC0ALTTRGEN |
|
||||||
SIM_SOPT7_ADC0TRGSEL(14);
|
SIM_SOPT7_ADC0TRGSEL(14);
|
||||||
#else
|
#else
|
||||||
// Setup PDB for ADC0 at 24 kHz
|
// Setup PDB for ADC0 at 24 kHz
|
||||||
|
|||||||
Reference in New Issue
Block a user