We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b703997 commit d3f626dCopy full SHA for d3f626d
1 file changed
firmware/src/temperature.c
@@ -86,7 +86,7 @@ void Temperature_Init() {
86
87
// The only method Harmony 1.06 provides to set ADCS uses the bus speed, so
88
// rather than depend on that, we set it here manually.
89
- AD1CON3 = 0x0002; // ADCS
+ AD1CON3 = 0x0002; // ADCS
90
PLIB_ADC_ConversionClockSourceSelect(
91
ADC_ID_1, ADC_CLOCK_SOURCE_SYSTEM_CLOCK);
92
PLIB_ADC_SampleAcquisitionTimeSet(ADC_ID_1, 0x1f); // 31 x Tad
0 commit comments