MeatPack followup - unused command (#20893)

This commit is contained in:
ellensp 2021-01-28 20:46:17 +13:00 committed by GitHub
parent 811bb7997c
commit 11b407045a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 2 deletions

View File

@ -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);

View File

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