Skip to content

Commit

Permalink
Set scaledAnalogRead to false for ARDUINO_ARCH_ESP32
Browse files Browse the repository at this point in the history
  • Loading branch information
tyeth committed Oct 11, 2024
1 parent 08fee34 commit f7eebe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/analogIO/Wippersnapper_AnalogIO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ void Wippersnapper_AnalogIO::setADCResolution(int resolution) {
analogReadResolution(16);
_nativeResolution = 12;
#elif defined(ARDUINO_ARCH_ESP32)
scaleAnalogRead = true; // probably should be false, handled in bsp
scaleAnalogRead = false; // probably should be false, handled in bsp
#if defined(ESP32S3)
_nativeResolution = 13; // S3 ADC is 13-bit, others are 12-bit
#else
Expand Down

0 comments on commit f7eebe6

Please sign in to comment.