Browse Source

Fix MMU2 compile error (#21065)

Giuliano Zaro 3 years ago
parent
commit
9e0fc44210
No account linked to committer's email address
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      Marlin/src/feature/mmu/mmu2.cpp

+ 1
- 3
Marlin/src/feature/mmu/mmu2.cpp View File

287
         else if (WITHIN(cmd, MMU_CMD_F0, MMU_CMD_F4)) {
287
         else if (WITHIN(cmd, MMU_CMD_F0, MMU_CMD_F4)) {
288
           // filament type
288
           // filament type
289
           int filament = cmd - MMU_CMD_F0;
289
           int filament = cmd - MMU_CMD_F0;
290
-          DEBUG_ECHOPAIR("MMU <= F", filament, " ");
291
-          DEBUG_ECHO_F(cmd_arg, DEC);
292
-          DEBUG_EOL();
290
+          DEBUG_ECHOLNPAIR("MMU <= F", filament, " ", cmd_arg);
293
           tx_printf_P(PSTR("F%d %d\n"), filament, cmd_arg);
291
           tx_printf_P(PSTR("F%d %d\n"), filament, cmd_arg);
294
           state = 3; // wait for response
292
           state = 3; // wait for response
295
         }
293
         }

Loading…
Cancel
Save