Skip to content

Commit 259a899

Browse files
authored
Fix type: char -> uint8_t (#337)
1 parent 86bba3e commit 259a899

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/OLEDDisplay.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ void OLEDDisplay::drawXbm(int16_t xMove, int16_t yMove, int16_t width, int16_t h
537537
}
538538
}
539539

540-
void OLEDDisplay::drawIco16x16(int16_t xMove, int16_t yMove, const char *ico, bool inverse) {
540+
void OLEDDisplay::drawIco16x16(int16_t xMove, int16_t yMove, const uint8_t *ico, bool inverse) {
541541
uint16_t data;
542542

543543
for(int16_t y = 0; y < 16; y++) {

src/OLEDDisplay.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ class OLEDDisplay : public Stream {
238238
void drawXbm(int16_t x, int16_t y, int16_t width, int16_t height, const uint8_t *xbm);
239239

240240
// Draw icon 16x16 xbm format
241-
void drawIco16x16(int16_t x, int16_t y, const char *ico, bool inverse = false);
241+
void drawIco16x16(int16_t x, int16_t y, const uint8_t *ico, bool inverse = false);
242242

243243
/* Text functions */
244244

0 commit comments

Comments
 (0)