Cosmetics
This commit is contained in:
+5
-4
@@ -366,13 +366,14 @@ extern uint8_t channelOrder(uint8_t x);
|
|||||||
|
|
||||||
#define THRCHK_DEADBAND 16
|
#define THRCHK_DEADBAND 16
|
||||||
|
|
||||||
|
inline bool SPLASH_NEEDED()
|
||||||
|
{
|
||||||
#if defined(COLORLCD)
|
#if defined(COLORLCD)
|
||||||
#define SPLASH_NEEDED() (false)
|
return false;
|
||||||
#elif defined(PCBTARANIS)
|
|
||||||
#define SPLASH_NEEDED() (g_eeGeneral.splashMode != 3)
|
|
||||||
#else
|
#else
|
||||||
#define SPLASH_NEEDED() (g_model.moduleData[EXTERNAL_MODULE].type != MODULE_TYPE_DSM2 && !g_eeGeneral.splashMode)
|
return g_eeGeneral.splashMode != 3;
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
#if defined(PCBHORUS)
|
#if defined(PCBHORUS)
|
||||||
#define SPLASH_TIMEOUT 0 /* we use the splash duration to load stuff from the SD */
|
#define SPLASH_TIMEOUT 0 /* we use the splash duration to load stuff from the SD */
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ void storageEraseAll(bool warn)
|
|||||||
ALERT(STR_STORAGE_WARNING, STR_BAD_RADIO_DATA, AU_BAD_RADIODATA);
|
ALERT(STR_STORAGE_WARNING, STR_BAD_RADIO_DATA, AU_BAD_RADIODATA);
|
||||||
}
|
}
|
||||||
|
|
||||||
RAISE_ALERT(STR_STORAGE_WARNING, STR_STORAGE_FORMAT, NULL, AU_NONE);
|
RAISE_ALERT(STR_STORAGE_WARNING, STR_STORAGE_FORMAT, nullptr, AU_NONE);
|
||||||
|
|
||||||
storageFormat();
|
storageFormat();
|
||||||
storageDirty(EE_GENERAL|EE_MODEL);
|
storageDirty(EE_GENERAL|EE_MODEL);
|
||||||
|
|||||||
Reference in New Issue
Block a user