update lib dependency

This commit is contained in:
Thomas Göttgens
2023-03-08 15:42:45 +01:00
parent a538a96c90
commit 944d5066e9
3 changed files with 8 additions and 5 deletions

View File

@@ -937,11 +937,14 @@ void Screen::setup()
useDisplay = true;
#ifdef AutoOLEDWire_h
if (screen_model == meshtastic_Config_DisplayConfig_OledType_OLED_SH1107)
screen_model = meshtastic_Config_DisplayConfig_OledType_OLED_SH1106;
dispdev.setDetected(screen_model);
#endif
#ifdef USE_SH1107_128_64
dispdev.setSubtype(7);
#endif
// Initialising the UI will init the display too.
ui.init();