Cosmetics

This commit is contained in:
Bertrand Songis
2018-08-05 15:47:53 +02:00
parent f226cde6fe
commit 4f741dfad2
3 changed files with 27 additions and 36 deletions
+2 -5
View File
@@ -1506,10 +1506,7 @@ void doMixerCalculations()
s_mixer_first_run_done = true;
}
#define OPENTX_START_ARGS uint8_t splash=true
#define OPENTX_START_SPLASH_NEEDED() (splash)
void opentxStart(OPENTX_START_ARGS)
void opentxStart(uint8_t splash=true)
{
TRACE("opentxStart");
@@ -1522,7 +1519,7 @@ void opentxStart(OPENTX_START_ARGS)
uint8_t calibration_needed = (g_eeGeneral.chkSum != evalChkSum());
#if defined(GUI)
if (!calibration_needed && OPENTX_START_SPLASH_NEEDED()) {
if (!calibration_needed && splash) {
doSplash();
}
#endif