mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-26 20:26:32 +00:00
Update ILI9341_2.cpp
Fix invert display
This commit is contained in:
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…
x
Reference in New Issue
Block a user