Reduce string storage, use masking 'seen'
This commit is contained in:
@ -50,9 +50,8 @@
|
||||
for (uint8_t y = 0; y < GRID_MAX_POINTS_Y; y++)
|
||||
if (!isnan(z_values[x][y])) {
|
||||
SERIAL_ECHO_START();
|
||||
SERIAL_ECHOPAIR(" M421 I", x, " J", y);
|
||||
SERIAL_ECHOPAIR_F(" Z", z_values[x][y], 4);
|
||||
SERIAL_EOL();
|
||||
SERIAL_ECHOPAIR(" M421 I", int(x), " J", int(y));
|
||||
SERIAL_ECHOLNPAIR_F(" Z", z_values[x][y], 4);
|
||||
serial_delay(75); // Prevent Printrun from exploding
|
||||
}
|
||||
}
|
||||
|
@ -432,9 +432,7 @@ bool MMU2::rx_ok() {
|
||||
*/
|
||||
void MMU2::check_version() {
|
||||
if (buildnr < MMU_REQUIRED_FW_BUILDNR) {
|
||||
SERIAL_ERROR_START();
|
||||
SERIAL_ECHOPGM("MMU2 firmware version invalid. Required version >= ");
|
||||
SERIAL_ECHOLN(MMU_REQUIRED_FW_BUILDNR);
|
||||
SERIAL_ERROR_MSG("Invalid MMU2 firmware. Version >= " STRINGIFY(MMU_REQUIRED_FW_BUILDNR) " required.");
|
||||
kill(MSG_MMU2_WRONG_FIRMWARE);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user