Skip to content

Commit 2469160

Browse files
committed
Add EFI_SLOW_ADC and ADC_FAST_DEVICE configurable macros rusefi#9621
only:docs
1 parent 2742472 commit 2469160

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

firmware/hw_layer/ports/stm32/stm32_adc_v2.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,8 @@ static bool readBatch(adcsample_t* convertedSamples, adcsample_t* b) {
310310
return false;
311311
}
312312

313-
// Temperature sensor is only physically wired to ADC1
313+
// MCU Temperature sensor is only physically wired to ADC1
314+
// todo: disable MCU Temperature sensor if EFI_SLOW_ADC is not ADC1?
314315
adcConvert(&EFI_SLOW_ADC, &auxConvGroup, (adcsample_t *)auxSensorSamples, auxSensorOversample);
315316

316317
// Switch IN18 input to Vbat

0 commit comments

Comments
 (0)