Update xdrv_13_display.ino

This commit is contained in:
gemu2015 2020-08-09 11:10:09 +02:00
parent 19be44e8b4
commit fd21929269
1 changed files with 3 additions and 1 deletions

View File

@ -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