diff options
Diffstat (limited to 'board/elm/board.c')
-rw-r--r-- | board/elm/board.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/board/elm/board.c b/board/elm/board.c index 9a9c70918f..5631e1d7d2 100644 --- a/board/elm/board.c +++ b/board/elm/board.c @@ -298,10 +298,8 @@ int board_set_active_charge_port(int charge_port) */ if (!initialized && charge_port == CHARGE_PORT_NONE && - charge_get_percent() < 2) { - CPRINTS("Battery critical, don't disable charging"); + charge_get_percent() < 2) return -1; - } if (is_real_port && source) { CPRINTF("Skip enable p%d", charge_port); |