mirror of https://github.com/arendst/Tasmota.git
parent
5fabf3c138
commit
8d4fc1ec05
|
@ -557,7 +557,7 @@ void ILI9341_2::DisplayOnff(int8_t on) {
|
||||||
|
|
||||||
void ILI9341_2::invertDisplay(boolean i) {
|
void ILI9341_2::invertDisplay(boolean i) {
|
||||||
ILI9341_2_CS_LOW
|
ILI9341_2_CS_LOW
|
||||||
writecmd(i ? ILI9341_2_INVOFF : ILI9341_2_INVON);
|
writecmd(i ? ILI9341_2_INVON : ILI9341_2_INVOFF);
|
||||||
ILI9341_2_CS_HIGH
|
ILI9341_2_CS_HIGH
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue