config: utilize devmode variable

This holds the NX hw state.
This commit is contained in:
CTCaer
2025-08-08 15:07:48 +03:00
committed by NaGa
parent 48b2f20c88
commit 760c93e92f
7 changed files with 8 additions and 4 deletions

View File

@@ -782,7 +782,7 @@ lv_res_t mbox_action(lv_obj_t *btns, const char *txt)
bool nyx_emmc_check_battery_enough()
{
if (fuse_read_hw_state() == FUSE_NX_HW_STATE_DEV)
if (h_cfg.devmode)
return true;
int batt_volt = 0;