1
0
Fork 0
mirror of https://github.com/EdgeTX/edgetx.git synced 2025-07-23 16:25:12 +03:00
This commit is contained in:
Bertrand Songis 2019-03-20 09:18:15 +01:00
parent 933f323a00
commit 45500b062d
2 changed files with 4 additions and 4 deletions

View file

@ -25,12 +25,12 @@ void menuRadioSpectrumAnalyser(event_t event)
SIMPLE_SUBMENU("SPECTRUM ANALYSER", 1);
if (menuEvent) {
INTERNAL_MODULE_OFF();
pausePulses();
moduleSettings[INTERNAL_MODULE].mode = MODULE_MODE_NORMAL;
/* wait 500ms off */
watchdogSuspend(500);
RTOS_WAIT_MS(500);
INTERNAL_MODULE_ON();
resumePulses();
}
else if (event == EVT_ENTRY) {
memclear(reusableBuffer.spectrumAnalyser.bars, sizeof(reusableBuffer.spectrumAnalyser.bars));