Autodetect OLED Controller 1306/1106 (#1317)

* Autodetect OLED Controller 1306/1106 and make #define NO_SCREEN work again

* fix epaper with autodetect

* Try kicking CI - NFC
This commit is contained in:
Thomas Göttgens
2022-03-24 11:36:56 -05:00
committed by GitHub
parent 47524d58d7
commit cef1614770
8 changed files with 53 additions and 10 deletions
+4
View File
@@ -765,6 +765,10 @@ void Screen::setup()
// is never found when probing i2c and therefore we don't call setup and never want to do (invalid) accesses to this device.
useDisplay = true;
#ifdef AutoOLEDWire_h
dispdev.setDetected(screen_model);
#endif
// I think this is not needed - redundant with ui.init
// dispdev.resetOrientation();