Fix compiler warning: sketch/ultralcd.cpp:855:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

for (int dots = 0; dots < heating_status_counter; dots++)
This commit is contained in:
Marek Bel 2018-07-25 16:30:50 +02:00
parent 58155cacbc
commit 620c015b65

View File

@ -852,7 +852,7 @@ if (print_sd_status)
lcd_set_cursor(7, 3);
lcd_puts_P(PSTR(" "));
for (int dots = 0; dots < heating_status_counter; dots++)
for (unsigned int dots = 0; dots < heating_status_counter; dots++)
{
lcd_set_cursor(7 + dots, 3);
lcd_print('.');