Correct output of M48 (PR#2336)
n_samples is an uint8_t . Got printouts like: 50 of 2 ...
This commit is contained in:
parent
47b78ed1af
commit
36746143a1
1 changed files with 1 additions and 1 deletions
|
@ -3362,7 +3362,7 @@ inline void gcode_M42() {
|
|||
if (verbose_level > 1) {
|
||||
SERIAL_PROTOCOL(n+1);
|
||||
SERIAL_PROTOCOLPGM(" of ");
|
||||
SERIAL_PROTOCOL(n_samples);
|
||||
SERIAL_PROTOCOL((int)n_samples);
|
||||
SERIAL_PROTOCOLPGM(" z: ");
|
||||
SERIAL_PROTOCOL_F(current_position[Z_AXIS], 6);
|
||||
if (verbose_level > 2) {
|
||||
|
|
Reference in a new issue