mirror of
https://github.com/EdgeTX/edgetx.git
synced 2025-07-23 16:25:12 +03:00
Fixes
This commit is contained in:
parent
933f323a00
commit
45500b062d
2 changed files with 4 additions and 4 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue