Browse Source

Fix G33 sprintf output warning (#12738)

pull/1/head
Ludy 6 years ago
committed by Scott Lahteine
parent
commit
814d93c7cf
  1. 2
      Marlin/src/gcode/calibrate/G33.cpp

2
Marlin/src/gcode/calibrate/G33.cpp

@ -649,7 +649,7 @@ void GcodeSuite::G33() {
else { // !end iterations else { // !end iterations
char mess[15]; char mess[15];
if (iterations < 31) if (iterations < 31)
sprintf_P(mess, PSTR("Iteration : %02i"), (int)iterations); sprintf_P(mess, PSTR("Iteration : %02i"), (unsigned int)iterations);
else else
strcpy_P(mess, PSTR("No convergence")); strcpy_P(mess, PSTR("No convergence"));
SERIAL_ECHO(mess); SERIAL_ECHO(mess);

Loading…
Cancel
Save