Disable battery management on dev units

This commit is contained in:
CTCaer committed 2021-01-04 02:58:07 +02:00
1 parent 41f96d4305
commit 46921aca22
2 files changed
+8 -2

No files matched your search

+3
View File
@@ -1245,6 +1245,9 @@ static void _show_errors()
static void _check_low_battery()
{
if (fuse_read_hw_state() == FUSE_NX_HW_STATE_DEV)
goto out;
int enough_battery;
int batt_volt = 0;
int charge_status = 0;