diff --git a/ESP32AnalogRead.cpp b/ESP32AnalogRead.cpp index a7e89db..c66715f 100644 --- a/ESP32AnalogRead.cpp +++ b/ESP32AnalogRead.cpp @@ -573,7 +573,6 @@ uint16_t ESP32AnalogRead::readRaw() #endif int32_t raw = 0; - uint32_t voltage = 0; // Read ADC and obtain result in mV if (unit == ADC_UNIT_1) { @@ -659,4 +658,4 @@ uint16_t ESP32AnalogRead::readRaw() } return raw; #endif -} \ No newline at end of file +}