chore(bw): place screen inversion in a more logical place (#6215)
This commit is contained in:
@@ -1386,6 +1386,9 @@ void edgeTxInit()
|
||||
#endif
|
||||
|
||||
#if defined(GUI) && !defined(COLORLCD)
|
||||
#if LCD_W == 128
|
||||
lcdSetInvert(g_eeGeneral.invertLCD);
|
||||
#endif
|
||||
lcdSetContrast();
|
||||
#endif
|
||||
|
||||
|
||||
@@ -604,9 +604,5 @@ const char * restoreModel(uint8_t idx, char *model_name)
|
||||
bool storageReadRadioSettings(bool checks)
|
||||
{
|
||||
if (!sdMounted()) sdInit();
|
||||
bool rv = loadRadioSettingsYaml(checks) == nullptr;
|
||||
#if LCD_W == 128
|
||||
lcdSetInvert(g_eeGeneral.invertLCD);
|
||||
#endif
|
||||
return rv;
|
||||
return loadRadioSettingsYaml(checks) == nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user