diff --git a/src/ersky9x/audio.cpp b/src/ersky9x/audio.cpp index b6a06145e..91b903471 100644 --- a/src/ersky9x/audio.cpp +++ b/src/ersky9x/audio.cpp @@ -585,7 +585,8 @@ void audioEvent(uint8_t e, uint8_t f) break; // pot/stick center case AU_POT_STICK_MIDDLE: - audioQueue.play(BEEP_DEFAULT_FREQ + 50, 20, 2, PLAY_NOW); break; + audioQueue.play(BEEP_DEFAULT_FREQ + 50, 20, 2, PLAY_NOW); + break; // mix warning 1 case AU_MIX_WARNING_1: audioQueue.play(BEEP_DEFAULT_FREQ + 50, 12, 0, PLAY_NOW); diff --git a/src/open9x.cpp b/src/open9x.cpp index e0fe5fa80..a2824de52 100644 --- a/src/open9x.cpp +++ b/src/open9x.cpp @@ -3125,15 +3125,6 @@ inline void open9xInit(OPEN9X_INIT_ARGS) if (g_eeGeneral.backlightMode != e_backlight_mode_off) backlightOn(); // on Tx start turn the light on if (!UNEXPECTED_SHUTDOWN()) { -#if 0 - // defined(PCBSTD) && defined(VOICE) && !defined(SPLASH) - lcd_clear(); - lcd_putsAtt(20, 28, PSTR("Open9x..."), DBLSIZE); - refreshDisplay(); - tmr10ms_t tgtime = get_tmr10ms() + (2*100); /* 2 seconds */ - while (tgtime != get_tmr10ms() && !keyDown()); -#endif - doSplash(); #if defined(PCBARM) diff --git a/src/stock/voice.cpp b/src/stock/voice.cpp index c59297a1a..f45cb1a7e 100644 --- a/src/stock/voice.cpp +++ b/src/stock/voice.cpp @@ -124,8 +124,7 @@ void t_voice::voice_process(void) } } else if (VoiceState == V_STARTUP) { - if (g_blinkTmr10ms > 200) // Give module 2 secs to initialise - { + if (g_blinkTmr10ms > 200) { // Give module 2.0 secs to initialise VoiceState = V_IDLE; } }