Browse Source

MeatPack followup - unused command (#20893)

vanilla_fb_2.0.x
ellensp 4 years ago
committed by Scott Lahteine
parent
commit
b10b76e882
  1. 1
      Marlin/src/feature/meatpack.cpp
  2. 1
      Marlin/src/feature/meatpack.h

1
Marlin/src/feature/meatpack.cpp

@ -164,7 +164,6 @@ void MeatPack::handle_command(const MeatPack_Command c) {
case MPCommand_QueryConfig: break; case MPCommand_QueryConfig: break;
case MPCommand_EnablePacking: SBI(state, MPConfig_Bit_Active); DEBUG_ECHOLNPGM("[MPDBG] ENA REC"); break; case MPCommand_EnablePacking: SBI(state, MPConfig_Bit_Active); DEBUG_ECHOLNPGM("[MPDBG] ENA REC"); break;
case MPCommand_DisablePacking: CBI(state, MPConfig_Bit_Active); DEBUG_ECHOLNPGM("[MPDBG] DIS REC"); break; case MPCommand_DisablePacking: CBI(state, MPConfig_Bit_Active); DEBUG_ECHOLNPGM("[MPDBG] DIS REC"); break;
case MPCommand_TogglePacking: TBI(state, MPConfig_Bit_Active); DEBUG_ECHOLNPGM("[MPDBG] TGL REC"); break;
case MPCommand_ResetAll: reset_state(); DEBUG_ECHOLNPGM("[MPDBG] RESET REC"); break; case MPCommand_ResetAll: reset_state(); DEBUG_ECHOLNPGM("[MPDBG] RESET REC"); break;
case MPCommand_EnableNoSpaces: case MPCommand_EnableNoSpaces:
SBI(state, MPConfig_Bit_NoSpaces); SBI(state, MPConfig_Bit_NoSpaces);

1
Marlin/src/feature/meatpack.h

@ -64,7 +64,6 @@
*/ */
enum MeatPack_Command : uint8_t { enum MeatPack_Command : uint8_t {
MPCommand_None = 0, MPCommand_None = 0,
MPCommand_TogglePacking = 0xFD,
MPCommand_EnablePacking = 0xFB, MPCommand_EnablePacking = 0xFB,
MPCommand_DisablePacking = 0xFA, MPCommand_DisablePacking = 0xFA,
MPCommand_ResetAll = 0xF9, MPCommand_ResetAll = 0xF9,

Loading…
Cancel
Save