Cosmetics
This commit is contained in:
@@ -36,6 +36,9 @@ void menuRadioPowerMeter(event_t event)
|
|||||||
SIMPLE_SUBMENU("POWER METER", 1);
|
SIMPLE_SUBMENU("POWER METER", 1);
|
||||||
|
|
||||||
if (menuEvent) {
|
if (menuEvent) {
|
||||||
|
const char * message = "Stopping...";
|
||||||
|
lcdDrawText(LCD_W / 2 - getTextWidth(message) / 2, 4*FH, message);
|
||||||
|
lcdRefresh();
|
||||||
pausePulses();
|
pausePulses();
|
||||||
moduleSettings[g_moduleIdx].mode = MODULE_MODE_NORMAL;
|
moduleSettings[g_moduleIdx].mode = MODULE_MODE_NORMAL;
|
||||||
/* wait 500ms off */
|
/* wait 500ms off */
|
||||||
|
|||||||
@@ -42,6 +42,9 @@ void menuRadioSpectrumAnalyser(event_t event)
|
|||||||
SUBMENU("SPECTRUM ANALYSER", 1, {1});
|
SUBMENU("SPECTRUM ANALYSER", 1, {1});
|
||||||
|
|
||||||
if (menuEvent) {
|
if (menuEvent) {
|
||||||
|
const char * message = "Stopping...";
|
||||||
|
lcdDrawText(LCD_W / 2 - getTextWidth(message) / 2, 4*FH, message);
|
||||||
|
lcdRefresh();
|
||||||
pausePulses();
|
pausePulses();
|
||||||
moduleSettings[g_moduleIdx].mode = MODULE_MODE_NORMAL;
|
moduleSettings[g_moduleIdx].mode = MODULE_MODE_NORMAL;
|
||||||
/* wait 500ms off */
|
/* wait 500ms off */
|
||||||
|
|||||||
Reference in New Issue
Block a user