mirror of https://github.com/arendst/Tasmota.git
Update xdrv_13_display.ino
This commit is contained in:
parent
19be44e8b4
commit
fd21929269
|
@ -1268,7 +1268,9 @@ void DisplayInitDriver(void)
|
||||||
// AddLog_P2(LOG_LEVEL_DEBUG, PSTR(D_LOG_DEBUG "Display model %d"), Settings.display_model);
|
// AddLog_P2(LOG_LEVEL_DEBUG, PSTR(D_LOG_DEBUG "Display model %d"), Settings.display_model);
|
||||||
|
|
||||||
if (Settings.display_model) {
|
if (Settings.display_model) {
|
||||||
devices_present++;
|
if (!light_type) {
|
||||||
|
devices_present++; // If no PWM channel for backlight then use "normal" power control
|
||||||
|
}
|
||||||
disp_device = devices_present;
|
disp_device = devices_present;
|
||||||
|
|
||||||
#ifndef USE_DISPLAY_MODES1TO5
|
#ifndef USE_DISPLAY_MODES1TO5
|
||||||
|
|
Loading…
Reference in New Issue