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