Skip to content
Snippets Groups Projects
Unverified Commit d884d1ed authored by ManuelMcLure's avatar ManuelMcLure Committed by GitHub
Browse files

"M122 I" to reinitialize TMC (#18571)

parent b0c6cfb0
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,7 @@
#include "../../gcode.h"
#include "../../../feature/tmc_util.h"
#include "../../../module/stepper/indirection.h"
/**
* M122: Debug TMC drivers
......@@ -37,6 +38,8 @@ void GcodeSuite::M122() {
if (print_all) LOOP_XYZE(i) print_axis[i] = true;
if (parser.boolval('I')) restore_stepper_drivers();
#if ENABLED(TMC_DEBUG)
#if ENABLED(MONITOR_DRIVER_STATUS)
uint16_t interval = MONITOR_DRIVER_STATUS_INTERVAL_MS;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment