0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-19 22:58:04 +03:00

Pulled in egzumer's battery percentage !

This commit is contained in:
OneOfEleven
2023-10-01 22:14:45 +01:00
parent 1fc1a102ea
commit a9aa37e043
10 changed files with 62 additions and 20 deletions

View File

@ -33,7 +33,8 @@ extern uint16_t gBatteryCheckCounter;
extern volatile uint16_t gPowerSave_10ms;
void BATTERY_GetReadings(bool bDisplayBatteryLevel);
unsigned int BATTERY_VoltsToPercent(const unsigned int voltage_10mV);
void BATTERY_GetReadings(const bool bDisplayBatteryLevel);
#endif