mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-25 19:56:30 +00:00
Fix universal display power regression (#21726)
This commit is contained in:
parent
363cd8d79e
commit
fee5251bd4
@ -24,6 +24,7 @@ All notable changes to this project will be documented in this file.
|
|||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Berry `bytes.resize()` for large sizes (#21716)
|
- Berry `bytes.resize()` for large sizes (#21716)
|
||||||
|
- On universal display remove default backlight power if a single PWM channel is used for backlight. Regression from 14.0.0.1 (#21726)
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
|
@ -167,6 +167,7 @@ The latter links can be used for OTA upgrades too like ``OtaUrl https://ota.tasm
|
|||||||
- Matter refactor reading of multiple attributes to reduce memory pressure [#21675](https://github.com/arendst/Tasmota/issues/21675)
|
- Matter refactor reading of multiple attributes to reduce memory pressure [#21675](https://github.com/arendst/Tasmota/issues/21675)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
- On universal display remove default backlight power if a single PWM channel is used for backlight. Regression from 14.0.0.1 [#21726](https://github.com/arendst/Tasmota/issues/21726)
|
||||||
- Shutter MQTT on inverted shutter [#21663](https://github.com/arendst/Tasmota/issues/21663)
|
- Shutter MQTT on inverted shutter [#21663](https://github.com/arendst/Tasmota/issues/21663)
|
||||||
- Scripter TCP server [#21660](https://github.com/arendst/Tasmota/issues/21660)
|
- Scripter TCP server [#21660](https://github.com/arendst/Tasmota/issues/21660)
|
||||||
- ESP32 allow use of UART0 with enabled USB_CDC_CONSOLE [#21496](https://github.com/arendst/Tasmota/issues/21496)
|
- ESP32 allow use of UART0 with enabled USB_CDC_CONSOLE [#21496](https://github.com/arendst/Tasmota/issues/21496)
|
||||||
|
@ -1892,12 +1892,11 @@ void DisplayInitDriver(void) {
|
|||||||
|
|
||||||
UpdateDevicesPresent(1);
|
UpdateDevicesPresent(1);
|
||||||
if (!PinUsed(GPIO_BACKLIGHT)) {
|
if (!PinUsed(GPIO_BACKLIGHT)) {
|
||||||
// if (TasmotaGlobal.light_type && (4 == Settings->display_model)) {
|
if ((LT_PWM1 == TasmotaGlobal.light_type) && // Single PWM light channel
|
||||||
if (TasmotaGlobal.light_type && // Assume PWM channel
|
((4 == Settings->display_model) || // ILI9341 legacy
|
||||||
((4 == Settings->display_model) || // ILI9341 legacy
|
(17 == Settings->display_model)) // Universal
|
||||||
(17 == Settings->display_model)) // Universal
|
|
||||||
) {
|
) {
|
||||||
UpdateDevicesPresent(-1); // Assume PWM channel is used for backlight
|
UpdateDevicesPresent(-1); // Assume PWM channel is used for backlight
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
disp_device = TasmotaGlobal.devices_present;
|
disp_device = TasmotaGlobal.devices_present;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user