chore(bw): place screen inversion in a more logical place (#6215)

This commit is contained in:
3djc
2025-05-07 20:42:35 +10:00
committed by GitHub
parent bd3328059b
commit 54a6fb5ece
2 changed files with 4 additions and 5 deletions
+3
View File
@@ -1386,6 +1386,9 @@ void edgeTxInit()
#endif
#if defined(GUI) && !defined(COLORLCD)
#if LCD_W == 128
lcdSetInvert(g_eeGeneral.invertLCD);
#endif
lcdSetContrast();
#endif
+1 -5
View File
@@ -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;
}