Cosmetics

This commit is contained in:
Bertrand Songis
2019-04-15 12:00:27 +02:00
parent ee0da57796
commit 5f1152166d
2 changed files with 6 additions and 0 deletions
@@ -36,6 +36,9 @@ void menuRadioPowerMeter(event_t event)
SIMPLE_SUBMENU("POWER METER", 1);
if (menuEvent) {
const char * message = "Stopping...";
lcdDrawText(LCD_W / 2 - getTextWidth(message) / 2, 4*FH, message);
lcdRefresh();
pausePulses();
moduleSettings[g_moduleIdx].mode = MODULE_MODE_NORMAL;
/* wait 500ms off */
@@ -42,6 +42,9 @@ void menuRadioSpectrumAnalyser(event_t event)
SUBMENU("SPECTRUM ANALYSER", 1, {1});
if (menuEvent) {
const char * message = "Stopping...";
lcdDrawText(LCD_W / 2 - getTextWidth(message) / 2, 4*FH, message);
lcdRefresh();
pausePulses();
moduleSettings[g_moduleIdx].mode = MODULE_MODE_NORMAL;
/* wait 500ms off */