Skip to content

Commit 087f349

Browse files
MatthewMArnoldsalkinium
authored andcommitted
[ui] Fix clearPixel in GraphicDisplay
1 parent 9b4b64c commit 087f349

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/modm/ui/display/color_graphic_display.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55

66
#include "graphic_display.hpp"
77

8-
using namespace modm::platform;
9-
108
namespace modm
119
{
1210

src/modm/ui/display/graphic_display.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ class GraphicDisplay : public IOStream
127127
inline void
128128
clearPixel(glcd::Point p)
129129
{
130-
this->setPixel(p.x, p.y);
130+
this->clearPixel(p.x, p.y);
131131
}
132132

133133
/**

0 commit comments

Comments
 (0)