config: utilize devmode variable
This holds the NX hw state.
This commit is contained in:
1 parent
2ea496d9d1
commit
af71f46b12
7 files changed
+8
-4
No files matched your search
+1
-1
@@ -1182,7 +1182,7 @@ static void _show_errors()
|
||||
|
||||
static void _check_low_battery()
|
||||
{
|
||||
if (fuse_read_hw_state() == FUSE_NX_HW_STATE_DEV)
|
||||
if (h_cfg.devmode)
|
||||
goto out;
|
||||
|
||||
int enough_battery;
|
||||
|
||||
Reference in new issue
Block a user