Skip to content

Commit f7eebe6

Browse files
committed
Set scaledAnalogRead to false for ARDUINO_ARCH_ESP32
1 parent 08fee34 commit f7eebe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/analogIO/Wippersnapper_AnalogIO.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ void Wippersnapper_AnalogIO::setADCResolution(int resolution) {
8787
analogReadResolution(16);
8888
_nativeResolution = 12;
8989
#elif defined(ARDUINO_ARCH_ESP32)
90-
scaleAnalogRead = true; // probably should be false, handled in bsp
90+
scaleAnalogRead = false; // probably should be false, handled in bsp
9191
#if defined(ESP32S3)
9292
_nativeResolution = 13; // S3 ADC is 13-bit, others are 12-bit
9393
#else

0 commit comments

Comments
 (0)