Skip to content

Commit 5d86e09

Browse files
committed
examples prepared for release
1 parent c67ec5e commit 5d86e09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tcUnicodeHelper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class U8g2TextPlotPipeline : public TextPlotPipeline {
8787
public:
8888
explicit U8g2TextPlotPipeline(U8G2* gfx): u8g2(gfx) {}
8989
~U8g2TextPlotPipeline() = default;
90-
void drawPixel(uint16_t x, uint16_t y, uint32_t color) override { u8g2->drawPixel(x, y); }
90+
void drawPixel(uint16_t x, uint16_t y, uint32_t color) override { u8g2->setColorIndex(color); u8g2->drawPixel(x, y); }
9191
Coord getDimensions() override { return Coord(u8g2->getWidth(), u8g2->getHeight()); }
9292
void setCursor(const Coord& where) override { cursor = where; }
9393
Coord getCursor() override { return cursor; }

0 commit comments

Comments
 (0)