Got rid of (most of) all of the warnings.
This commit is contained in:
@ -20,7 +20,7 @@ void drawDigit(Window window, unsigned char* font, int w, int h, int x, int y, i
|
||||
}
|
||||
|
||||
void drawText(Window window, char *font, int w, int h, char *text, int x, int y, CRGB color) {
|
||||
for (int i = 0; i < strlen(text); i++) {
|
||||
for (uint16_t i = 0; i < strlen(text); i++) {
|
||||
drawChar(window, font5x7, 5, 7, x+i*(w+1), y, text[i], color);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user