Skip to content

Commit 68c99f6

Browse files
committed
Fix type error
1 parent 85df718 commit 68c99f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/WorldClockDemo/WorldClockDemo.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ void drawProgress(OLEDDisplay *display, int percentage, String label) {
9292
display->display();
9393
}
9494

95-
void drawClock(OLEDDisplay *display, int x, int y, int timeZoneIndex, String city, const char* icon) {
95+
void drawClock(OLEDDisplay *display, int x, int y, int timeZoneIndex, String city, const uint8_t* icon) {
9696
display->setTextAlignment(TEXT_ALIGN_LEFT);
9797
display->setFont(ArialMT_Plain_10);
9898
display->drawString(x + 60, y + 5, city);

0 commit comments

Comments
 (0)