Skip to content

Commit 6105e80

Browse files
committed
[nrf fromtree] samples: adc: esp32s2: Fix unsupported resolution
S2 has 12-bit ADC. Signed-off-by: Marek Matej <[email protected]> Signed-off-by: Sebastian Głąb <[email protected]> (cherry picked from commit 37f2f7e)
1 parent 5c94c89 commit 6105e80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/drivers/adc/adc_dt/boards/esp32s2_saola.overlay

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
zephyr,gain = "ADC_GAIN_1_4";
2323
zephyr,reference = "ADC_REF_INTERNAL";
2424
zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
25-
zephyr,resolution = <13>;
25+
zephyr,resolution = <12>;
2626
};
2727
};
2828

@@ -36,6 +36,6 @@
3636
zephyr,gain = "ADC_GAIN_1_4";
3737
zephyr,reference = "ADC_REF_INTERNAL";
3838
zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
39-
zephyr,resolution = <13>;
39+
zephyr,resolution = <12>;
4040
};
4141
};

0 commit comments

Comments
 (0)