Skip to content

Commit

Permalink
🎨 Suppress warning (MarlinFirmware#25529)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmbq authored and thinkyhead committed May 17, 2023
1 parent dcbba65 commit 821d796
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Marlin/src/gcode/feature/trinamic/M569.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ static void set_stealth_status(const bool enable, const int8_t eindex) {
constexpr int8_t index = -1;
#endif

UNUSED(index);

LOOP_LOGICAL_AXES(i) if (parser.seen(AXIS_CHAR(i))) {
switch (i) {
case X_AXIS:
Expand Down

0 comments on commit 821d796

Please sign in to comment.