Override Screen Autodtect

This commit is contained in:
Thomas Göttgens 2022-11-03 22:44:22 +01:00
parent 3db504c470
commit acfa186d44

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();