diff --git a/Firmware/mmu2/buttons.h b/Firmware/mmu2/buttons.h index 0e407e43b..e02a6b065 100644 --- a/Firmware/mmu2/buttons.h +++ b/Firmware/mmu2/buttons.h @@ -21,9 +21,9 @@ enum class ButtonOperations : uint8_t { /// Button codes + extended actions performed on the printer's side enum Buttons : uint8_t { - Left = 0, + Right = 0, Middle, - Right, + Left, // performed on the printer's side RestartMMU, diff --git a/Firmware/mmu2_protocol_logic.cpp b/Firmware/mmu2_protocol_logic.cpp index a1677d383..20e6754aa 100644 --- a/Firmware/mmu2_protocol_logic.cpp +++ b/Firmware/mmu2_protocol_logic.cpp @@ -238,6 +238,7 @@ StepStatus Command::Step() { // The user pushed a button on the MMU. Save it, do what we need to do // to prepare, then pass it back to the MMU so it can work its magic. logic->buttonCode = static_cast(logic->rsp.paramValue); + SendAndUpdateFilamentSensor(); return ButtonPushed; case ResponseMsgParamCodes::Finished: logic->progressCode = ProgressCode::OK;