Fix for ADC channel

This commit is contained in:
Ken Van Hoeylandt 2026-07-14 00:33:54 +02:00
parent ceed6f1d27
commit 44f3eec365

View File

@ -37,7 +37,7 @@
adc0 { adc0 {
compatible = "espressif,esp32-adc-oneshot"; compatible = "espressif,esp32-adc-oneshot";
unit-id = <ADC_UNIT_1>; unit-id = <ADC_UNIT_1>;
channels = <ADC_CHANNEL_3 ADC_ATTEN_DB_12 ADC_BITWIDTH_DEFAULT>; channels = <ADC_CHANNEL_6 ADC_ATTEN_DB_12 ADC_BITWIDTH_DEFAULT>;
}; };
// Matches the deprecated HAL's old ChargeFromAdcVoltage config: adcMultiplier=2.11, // Matches the deprecated HAL's old ChargeFromAdcVoltage config: adcMultiplier=2.11,