ericklein / air_quality

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

Replace batteryVoltageAvailable with actual value test #89

Closed ericklein closed 1 year ago

ericklein commented 1 year ago

Code currently stores a valid voltage reading if available and a global flag (batteryVoltageAvailable) to indicate that a value is stored. We can replace all tests for batteryVoltageAvailable with a test for a non-zero value.

ericklein commented 1 year ago

bool batteryVoltageAvailable replaced with hardwareData.batteryVoltage > 0 throughout code base. Verification of change now needed.

ericklein commented 1 year ago

internetAvailable replaced with hardwareData.rssi != 0 throughout code base. Verification of change now needed.

ericklein commented 1 year ago

testing in process, initial results support issue resolution