diff --git a/app.c b/app.c index 433bede..e70da47 100644 --- a/app.c +++ b/app.c @@ -12,7 +12,7 @@ void APP_Update(void) if (g_2000037E == 1) { return; } - if (gIsFmRadioEnabled) { + if (gFmRadioCountdown) { return; } } diff --git a/misc.c b/misc.c index 4f52fb7..d2ee5a2 100644 --- a/misc.c +++ b/misc.c @@ -117,7 +117,7 @@ bool gIsNoaaMode; volatile bool gNextTimeslice; uint8_t gNoaaChannel; bool gUpdateDisplay; -bool gIsFmRadioEnabled; +uint8_t gFmRadioCountdown; uint8_t gA_Scan_Channel; uint8_t gDebounceCounter; uint8_t gDTMF_AUTO_RESET_TIME; diff --git a/misc.h b/misc.h index 6bd42df..7e8c81c 100644 --- a/misc.h +++ b/misc.h @@ -121,7 +121,7 @@ extern bool gIsNoaaMode; extern volatile bool gNextTimeslice; extern uint8_t gNoaaChannel; extern bool gUpdateDisplay; -extern bool gIsFmRadioEnabled; +extern uint8_t gFmRadioCountdown; extern uint8_t gA_Scan_Channel; extern uint8_t gDebounceCounter; extern uint8_t gDTMF_AUTO_RESET_TIME;