Skip to content

Commit

Permalink
📝 M122 comment
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Jun 2, 2023
1 parent 2de2185 commit d9659d3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Marlin/src/gcode/feature/trinamic/M122.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@

/**
* M122: Debug TMC drivers
*
* I - Flag to re-initialize stepper drivers with current settings.
* X, Y, Z, E - Flags to only report the specified axes.
*
* With TMC_DEBUG:
* V - Report raw register data. Refer to the datasheet to decipher the report.
* S - Flag to enable/disable continuous debug reporting.
* P<ms> - Interval between continuous debug reports, in milliseconds.
*/
void GcodeSuite::M122() {
xyze_bool_t print_axis = ARRAY_N_1(LOGICAL_AXES, false);
Expand Down

0 comments on commit d9659d3

Please sign in to comment.