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

Restored battery bar thresholds back to the stored calibration values.

This commit is contained in:
OneOfEleven
2023-10-02 10:40:27 +01:00
parent ec33203403
commit af342cf904
7 changed files with 20 additions and 53 deletions

2
main.c
View File

@ -132,7 +132,7 @@ void Main(void)
gDebounceCounter = 0;
}
if (!gChargingWithTypeC && !gBatteryDisplayLevel)
if (!gChargingWithTypeC && gBatteryDisplayLevel == 0)
{
FUNCTION_Select(FUNCTION_POWER_SAVE);