Disable battery management on dev units

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

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;