config: utilize devmode variable

This holds the NX hw state.
This commit is contained in:
CTCaer authored and NaGa committed 2026-03-27 09:42:40 +01:00
1 parent 48b2f20c88
commit 760c93e92f
7 files changed
+8 -4

No files matched your search

+1 -1
View File
@@ -1246,7 +1246,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;