Explorar el Código

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++)
Marek Bel hace 6 años
padre
commit
620c015b65
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Firmware/ultralcd.cpp

+ 1 - 1
Firmware/ultralcd.cpp

@@ -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('.');