Merge pull request #1896 from meshtastic/oled-config

Oled config
This commit is contained in:
Thomas Göttgens
2022-11-03 23:05:09 +01:00
committed by GitHub

View File

@@ -293,6 +293,10 @@ void setup()
* Boards with an PMU need to be powered on to correctly scan to the device address, such as t-beam-s3-core
*/
scanI2Cdevice();
// fixed screen override?
if (config.display.oled != Config_DisplayConfig_OledType_OLED_AUTO)
screen_model = config.display.oled;
// Init our SPI controller (must be before screen and lora)
initSPI();