Got rid of (most of) all of the warnings.

This commit is contained in:
2019-05-30 11:26:13 +02:00
parent 711d028e90
commit 0d3896ca0d
9 changed files with 8 additions and 9 deletions

View File

@ -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);
}
}