Cosmetics

This commit is contained in:
Bertrand Songis
2019-04-17 10:43:07 +02:00
parent d6b4265c28
commit da69083bce
6 changed files with 11 additions and 13 deletions
@@ -24,6 +24,8 @@ extern uint8_t g_moduleIdx;
void menuRadioPowerMeter(event_t event)
{
SIMPLE_SUBMENU("POWER METER", 1);
if (TELEMETRY_STREAMING()) {
lcdDrawCenteredText(LCD_H/2, "Turn off receiver");
if (event == EVT_KEY_FIRST(KEY_EXIT)) {
@@ -33,11 +35,8 @@ void menuRadioPowerMeter(event_t event)
return;
}
SIMPLE_SUBMENU("POWER METER", 1);
if (menuEvent) {
const char * message = "Stopping...";
lcdDrawText(LCD_W / 2 - getTextWidth(message) / 2, 4*FH, message);
lcdDrawCenteredText(LCD_H/2, "Stopping...");
lcdRefresh();
pausePulses();
moduleSettings[g_moduleIdx].mode = MODULE_MODE_NORMAL;