Fix G33 sprintf output warning (#12738)

2.0.x
Ludy 6 years ago committed by Scott Lahteine
parent 3877bf9704
commit 814d93c7cf

@ -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