Fix G33 sprintf output warning (#12738)
This commit is contained in:
parent
3877bf9704
commit
814d93c7cf
1 changed files with 1 additions and 1 deletions
|
@ -649,7 +649,7 @@ void GcodeSuite::G33() {
|
|||
else { // !end iterations
|
||||
char mess[15];
|
||||
if (iterations < 31)
|
||||
sprintf_P(mess, PSTR("Iteration : %02i"), (int)iterations);
|
||||
sprintf_P(mess, PSTR("Iteration : %02i"), (unsigned int)iterations);
|
||||
else
|
||||
strcpy_P(mess, PSTR("No convergence"));
|
||||
SERIAL_ECHO(mess);
|
||||
|
|
Reference in a new issue