Fix unwanted pre-init functionality toggling non-display relays.

This commit is contained in:
Theo Arends 2021-10-01 16:19:23 +02:00
parent 63f526972c
commit a45c2ca66b
1 changed files with 1 additions and 1 deletions

View File

@ -1805,7 +1805,7 @@ void DisplayInitDriver(void)
// AddLog(LOG_LEVEL_DEBUG, PSTR(D_LOG_DEBUG "Display model %d"), 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
Set_display(0);