Consolidate probe clearance, add section debug (#18576)
* Better section / function log * Add do_z_clearance motion function
This commit is contained in:
@ -48,10 +48,8 @@
|
||||
*/
|
||||
void GcodeSuite::T(const uint8_t tool_index) {
|
||||
|
||||
if (DEBUGGING(LEVELING)) {
|
||||
DEBUG_ECHOLNPAIR(">>> T(", tool_index, ")");
|
||||
DEBUG_POS("BEFORE", current_position);
|
||||
}
|
||||
DEBUG_SECTION(log_T, "T", DEBUGGING(LEVELING));
|
||||
if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPAIR("...(", tool_index, ")");
|
||||
|
||||
// Count this command as movement / activity
|
||||
reset_stepper_timeout();
|
||||
@ -75,9 +73,4 @@ void GcodeSuite::T(const uint8_t tool_index) {
|
||||
);
|
||||
|
||||
#endif
|
||||
|
||||
if (DEBUGGING(LEVELING)) {
|
||||
DEBUG_POS("AFTER", current_position);
|
||||
DEBUG_ECHOLNPGM("<<< T()");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user