ericklein / air_quality

displays and logs local indoor and outdoor weather and air quality information
MIT License
0 stars 0 forks source link

batteryRead doesn't set hardwareData.battery to 0 if hardware not detected #103

Closed ericklein closed 9 months ago

ericklein commented 9 months ago

.batteryVoltage is set to 0 early in setup(). If lc.read() fails, it will still be at 0. Same holds true with the software detection routine.