fix ili9342 backlight

This commit is contained in:
gemu2015 2021-02-20 11:38:20 +01:00
parent 6edd24bbc6
commit 53ac4d8252

View File

@ -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);
} }