diff options
Diffstat (limited to 'board/amenia/board.c')
-rw-r--r-- | board/amenia/board.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/board/amenia/board.c b/board/amenia/board.c index 536210bd3e..d8bffdd79b 100644 --- a/board/amenia/board.c +++ b/board/amenia/board.c @@ -315,10 +315,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; - } CPRINTS("New chg p%d", charge_port); |