Update battery status output on missing battery
This commit is contained in:
1
Config.h
1
Config.h
@@ -169,6 +169,7 @@
|
|||||||
const uint8_t RX_ONGOING = 0x04;
|
const uint8_t RX_ONGOING = 0x04;
|
||||||
|
|
||||||
// Power management
|
// Power management
|
||||||
|
#define BATTERY_STATE_UNKNOWN 0x00
|
||||||
#define BATTERY_STATE_DISCHARGING 0x01
|
#define BATTERY_STATE_DISCHARGING 0x01
|
||||||
#define BATTERY_STATE_CHARGING 0x02
|
#define BATTERY_STATE_CHARGING 0x02
|
||||||
#define BATTERY_STATE_CHARGED 0x03
|
#define BATTERY_STATE_CHARGED 0x03
|
||||||
|
Reference in New Issue
Block a user