mirror of
https://github.com/markqvist/RNode_Firmware.git
synced 2025-05-04 23:55:18 -04:00
Added T-Beam PMU support
This commit is contained in:
parent
3b0658aaf5
commit
8059204050
2 changed files with 63 additions and 7 deletions
3
Config.h
3
Config.h
|
@ -296,8 +296,11 @@
|
|||
#define BATTERY_STATE_DISCHARGING 0x01
|
||||
#define BATTERY_STATE_CHARGING 0x02
|
||||
#define BATTERY_STATE_CHARGED 0x03
|
||||
bool battery_installed = false;
|
||||
bool external_power = false;
|
||||
float battery_voltage = 0.0;
|
||||
float battery_percent = 0.0;
|
||||
// float auxillary_temperature = 0.0;
|
||||
uint8_t battery_state = 0x00;
|
||||
|
||||
// Boot flags
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue