Fix MMU2 compile error (#21065)

This commit is contained in:
Giuliano Zaro 2021-02-15 11:45:38 +01:00 committed by GitHub
parent 35e9c131d6
commit 9e0fc44210
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
} }