Skip to content

Commit b2168e6

Browse files
authored
Fix color bug in clear() method
The green and blue components of the background were switched in the clear() method.
1 parent 06ec29d commit b2168e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ArduinoGraphics.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ void ArduinoGraphics::clear()
8383
{
8484
for (int x = 0; x < _width; x++) {
8585
for (int y = 0; y < _height; y++) {
86-
set(x, y, _backgroundR, _backgroundB, _backgroundG);
86+
set(x, y, _backgroundR, _backgroundG, _backgroundB);
8787
}
8888
}
8989
}

0 commit comments

Comments
 (0)