Use uint_max as "unknown" placeholder

This commit is contained in:
Matti Viljanen 2021-05-22 23:00:48 +03:00
parent 5c5aa961e7
commit e939c2d9ce
No known key found for this signature in database
GPG key ID: CF32A1495158F888

View file

@ -78,7 +78,7 @@ private:
QString health = "unknown"; // Good, warm, overheat. Might have Cold or Overvoltage depending on driver
int temperature = 0; // freezing
int temperature = 0x7FFFFFFF; // This value means "unknown" (32-bit INT_MAX)
int enableChargingValue = 1;
int disableChargingValue = 0;