BatteryStatus STATUS_MASK_ERROR

This commit is contained in:
Pavel Kirienko
2014-10-08 17:28:31 +04:00
parent 1fc60c4557
commit ae81d9d8d9
@@ -11,6 +11,7 @@ uint8 STATUS_MASK_CHARGED = 4 # Charging complete
uint8 STATUS_MASK_TEMP_HOT = 8 # Temperature above normal
uint8 STATUS_MASK_TEMP_COLD = 16 # Temperature below normal
uint8 STATUS_MASK_OVERLOAD = 32
uint8 STATUS_MASK_ERROR = 64 # E.g. invalid voltage, sensor malfunction, etc.
uint8 status_mask
float16 temperature # Celsius, optional