mirror of
https://github.com/EdgeTX/edgetx.git
synced 2025-07-23 00:05:13 +03:00
Cosmetics
This commit is contained in:
parent
d6b4265c28
commit
da69083bce
6 changed files with 11 additions and 13 deletions
|
@ -30,8 +30,10 @@ enum SpektrumFields {
|
|||
|
||||
void menuRadioSpectrumAnalyser(event_t event)
|
||||
{
|
||||
SUBMENU("SPECTRUM ANALYSER", 1, {1});
|
||||
|
||||
if (TELEMETRY_STREAMING()) {
|
||||
lcdDrawCenteredText(15, "Turn off receiver");
|
||||
lcdDrawCenteredText(LCD_H/2, "Turn off receiver");
|
||||
if (event == EVT_KEY_FIRST(KEY_EXIT)) {
|
||||
killEvents(event);
|
||||
popMenu();
|
||||
|
@ -39,11 +41,8 @@ void menuRadioSpectrumAnalyser(event_t event)
|
|||
return;
|
||||
}
|
||||
|
||||
SUBMENU("SPECTRUM ANALYSER", 1, {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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue