Powermeter / Frequency analyser exit issue

This commit is contained in:
Bertrand Songis
2019-04-28 22:41:58 +02:00
parent a84a50f8a6
commit 6530f93e21
3 changed files with 6 additions and 6 deletions
@@ -49,7 +49,7 @@ void menuRadioPowerMeter(event_t event)
if (menuEvent) {
lcdDrawCenteredText(LCD_H/2, STR_STOPPING);
lcdRefresh();
moduleState[g_moduleIdx].mode = MODULE_MODE_NORMAL;
moduleState[g_moduleIdx].readModuleInformation(&reusableBuffer.moduleSetup.pxx2.moduleInformation, PXX2_HW_INFO_TX_ID, PXX2_HW_INFO_TX_ID);
/* wait 1s to resume normal operation before leaving */
watchdogSuspend(1000);
RTOS_WAIT_MS(1000);