mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-29 19:03:52 +00:00
Override Screen Autodtect
This commit is contained in:
parent
3db504c470
commit
acfa186d44
@ -294,6 +294,10 @@ void setup()
|
|||||||
*/
|
*/
|
||||||
scanI2Cdevice();
|
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)
|
// Init our SPI controller (must be before screen and lora)
|
||||||
initSPI();
|
initSPI();
|
||||||
#ifndef ARCH_ESP32
|
#ifndef ARCH_ESP32
|
||||||
|
Loading…
Reference in New Issue
Block a user