diff --git a/firmware/main.c b/firmware/main.c index d813aac..037c9dd 100644 --- a/firmware/main.c +++ b/firmware/main.c @@ -1887,7 +1887,7 @@ void main(void) #if CONFIG_STOCK_FW // after 300ms check if we should jump to user firmware if (!user_app_checked && ticks > 300 / 20) { - if (app_flag == 1 && ctl_regs[REG_SYS_USER_APP_BLOCK - REG_SYS_CONFIG] != REG_SYS_USER_APP_BLOCK_MAGIC) + if (app_flag == 1 && REG_SYS(USER_APP_BLOCK) != REG_SYS_USER_APP_BLOCK_MAGIC) jmp_to_user_fw(); user_app_checked = 1;