ManuelMcLure
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
0 deletions
-
Marlin/src/gcode/feature/trinamic/M122.cpp
|
@ -26,6 +26,7 @@ |
|
|
|
|
|
|
|
|
#include "../../gcode.h" |
|
|
#include "../../gcode.h" |
|
|
#include "../../../feature/tmc_util.h" |
|
|
#include "../../../feature/tmc_util.h" |
|
|
|
|
|
#include "../../../module/stepper/indirection.h" |
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|
* M122: Debug TMC drivers |
|
|
* M122: Debug TMC drivers |
|
@ -37,6 +38,8 @@ void GcodeSuite::M122() { |
|
|
|
|
|
|
|
|
if (print_all) LOOP_XYZE(i) print_axis[i] = true; |
|
|
if (print_all) LOOP_XYZE(i) print_axis[i] = true; |
|
|
|
|
|
|
|
|
|
|
|
if (parser.boolval('I')) restore_stepper_drivers(); |
|
|
|
|
|
|
|
|
#if ENABLED(TMC_DEBUG) |
|
|
#if ENABLED(TMC_DEBUG) |
|
|
#if ENABLED(MONITOR_DRIVER_STATUS) |
|
|
#if ENABLED(MONITOR_DRIVER_STATUS) |
|
|
uint16_t interval = MONITOR_DRIVER_STATUS_INTERVAL_MS; |
|
|
uint16_t interval = MONITOR_DRIVER_STATUS_INTERVAL_MS; |
|
|