matthias-bs / BresserWeatherSensorTTN

Bresser 5-in-1/6-in-1/7-in-1 868 MHz Weather Sensor Radio Receiver based on ESP32 and RFM95W/SX1276 - sends data to a LoRaWAN Network (e.g. The Things Network)
MIT License
22 stars 9 forks source link

Unused variable in ESP32AnalogRead.h #8

Closed matthias-bs closed 1 year ago

matthias-bs commented 1 year ago

An unused variable in ESP32AnalogRead causes the CI to fail:

/home/runner/Arduino/libraries/ESP32AnalogRead/ESP32AnalogRead.cpp: In member function 'uint16_t ESP32AnalogRead::readRaw()':
/home/runner/Arduino/libraries/ESP32AnalogRead/ESP32AnalogRead.cpp:576:11: error: unused variable 'voltage' [-Werror=unused-variable]
  uint32_t voltage = 0;
           ^~~~~~~
cc1plus: some warnings being treated as errors
matthias-bs commented 1 year ago

Fixed in madhephaestus/ESP32AnalogRead v0.2.1