mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-26 20:26:32 +00:00
fix ili9342 backlight
This commit is contained in:
parent
6edd24bbc6
commit
53ac4d8252
@ -527,7 +527,7 @@ void ili9342_bpwr(uint8_t on);
|
|||||||
|
|
||||||
void ILI9341_2::DisplayOnff(int8_t on) {
|
void ILI9341_2::DisplayOnff(int8_t on) {
|
||||||
|
|
||||||
if (_hwspi>=2) {
|
if ((_hwspi >= 2) && (_bp < 0)) {
|
||||||
ili9342_bpwr(on);
|
ili9342_bpwr(on);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user