mirror of https://github.com/arendst/Tasmota.git
Fix unwanted pre-init functionality toggling non-display relays.
This commit is contained in:
parent
63f526972c
commit
a45c2ca66b
|
@ -1805,7 +1805,7 @@ void DisplayInitDriver(void)
|
||||||
// AddLog(LOG_LEVEL_DEBUG, PSTR(D_LOG_DEBUG "Display model %d"), Settings->display_model);
|
// AddLog(LOG_LEVEL_DEBUG, PSTR(D_LOG_DEBUG "Display model %d"), Settings->display_model);
|
||||||
|
|
||||||
if (Settings->display_model) {
|
if (Settings->display_model) {
|
||||||
ApplyDisplayDimmer();
|
// ApplyDisplayDimmer(); // Not allowed here. Way too early in initi sequence. IE power state has not even been set at this point in time
|
||||||
|
|
||||||
#ifdef USE_MULTI_DISPLAY
|
#ifdef USE_MULTI_DISPLAY
|
||||||
Set_display(0);
|
Set_display(0);
|
||||||
|
|
Loading…
Reference in New Issue