Browse Source

Fix MMU2 compile error (#21065)

vanilla_fb_2.0.x
Giuliano Zaro 4 years ago
committed by GitHub
parent
commit
9e0fc44210
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      Marlin/src/feature/mmu/mmu2.cpp

4
Marlin/src/feature/mmu/mmu2.cpp

@ -287,9 +287,7 @@ void MMU2::mmu_loop() {
else if (WITHIN(cmd, MMU_CMD_F0, MMU_CMD_F4)) { else if (WITHIN(cmd, MMU_CMD_F0, MMU_CMD_F4)) {
// filament type // filament type
int filament = cmd - MMU_CMD_F0; int filament = cmd - MMU_CMD_F0;
DEBUG_ECHOPAIR("MMU <= F", filament, " "); DEBUG_ECHOLNPAIR("MMU <= F", filament, " ", cmd_arg);
DEBUG_ECHO_F(cmd_arg, DEC);
DEBUG_EOL();
tx_printf_P(PSTR("F%d %d\n"), filament, cmd_arg); tx_printf_P(PSTR("F%d %d\n"), filament, cmd_arg);
state = 3; // wait for response state = 3; // wait for response
} }

Loading…
Cancel
Save