thorrak / brewpi-esp8266

An implementation of the BrewPi device code on the ESP8266, ESP32, and ESP32-S2
GNU General Public License v3.0
83 stars 30 forks source link

Fix inconsistent "invalid time" #56

Closed speshak closed 3 years ago

speshak commented 3 years ago

The display was using UINT_MAX and UINT16_MAX interchangeably as an invalid time marker. These are not always (if ever?) equal. Refactored out to a single "invalidTime" constexpr.