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

@ -11,7 +11,7 @@ void BigClockEffect::drawNumber(uint8_t number, int x, int y, CRGB color) {
}
void BigClockEffect::drawText(char *text, int x, int y, CRGB color) {
for (int i = 0; i < strlen(text); i++) {
for (uint8_t i = 0; i < strlen(text); i++) {
drawSprite(font_char(numbers4x7, text[i]), x + i * 4, y, color);
}
}