Browse Source

Fix compile error (#21877)

ellensp 4 years ago
parent
commit
10a1ff1622
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/gcode/feature/trinamic/M122.cpp

+ 1
- 1
Marlin/src/gcode/feature/trinamic/M122.cpp View File

32
  * M122: Debug TMC drivers
32
  * M122: Debug TMC drivers
33
  */
33
  */
34
 void GcodeSuite::M122() {
34
 void GcodeSuite::M122() {
35
-  xyze_bool_t print_axis = ARRAY_N_1(NUM_AXIS, false);
35
+  xyze_bool_t print_axis = ARRAY_N_1(XYZE, false);
36
 
36
 
37
   bool print_all = true;
37
   bool print_all = true;
38
   LOOP_XYZE(i) if (parser.seen(axis_codes[i])) { print_axis[i] = true; print_all = false; }
38
   LOOP_XYZE(i) if (parser.seen(axis_codes[i])) { print_axis[i] = true; print_all = false; }

Loading…
Cancel
Save