mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 03:06:33 +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) {
|
||||
ILI9341_2_CS_LOW
|
||||
writecmd(i ? ILI9341_2_INVOFF : ILI9341_2_INVON);
|
||||
writecmd(i ? ILI9341_2_INVON : ILI9341_2_INVOFF);
|
||||
ILI9341_2_CS_HIGH
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user