Use uint_max as "unknown" placeholder
This commit is contained in:
parent
5c5aa961e7
commit
e939c2d9ce
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ private:
|
||||||
|
|
||||||
|
|
||||||
QString health = "unknown"; // Good, warm, overheat. Might have Cold or Overvoltage depending on driver
|
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 enableChargingValue = 1;
|
||||||
int disableChargingValue = 0;
|
int disableChargingValue = 0;
|
||||||
|
|
Loading…
Reference in a new issue