void unified_bed_leveling::report_state() { echo_name(); SERIAL_PROTOCOLPGM(" System v" UBL_VERSION " "); if (!planner.leveling_active) SERIAL_PROTOCOLPGM("in"); SERIAL_PROTOCOLLNPGM("active."); safe_delay(50); }
void unified_bed_leveling::report_state( #if NUM_SERIAL > 1 const int8_t port/*= -1*/ #endif ) { echo_name( #if NUM_SERIAL > 1 port #endif ); SERIAL_ECHOPGM_P(port, " System v" UBL_VERSION " "); if (!planner.leveling_active) SERIAL_ECHOPGM_P(port, "in"); SERIAL_ECHOLNPGM_P(port, "active."); serial_delay(50); }