mirror of https://github.com/arendst/Tasmota.git
Fix display model
This commit is contained in:
parent
6fbf8c58f7
commit
b0c505d171
|
@ -1855,7 +1855,7 @@ void DisplayInitDriver(void) {
|
|||
uint32_t display_model = Settings->display_model;
|
||||
Settings->display_model = 0; // Test if any display_model is available
|
||||
XdspCall(FUNC_DISPLAY_INIT_DRIVER);
|
||||
if (Settings->display_model) { // If model found keep using user configured one for backward compatibility
|
||||
if (Settings->display_model && display_model) { // If any model found keep using user configured one for backward compatibility
|
||||
Settings->display_model = display_model;
|
||||
}
|
||||
if (!Settings->display_model) { return; }
|
||||
|
|
Loading…
Reference in New Issue