From f717aa161c0c450f67ae13d6b398697d300fa9cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gu=C3=B0ni=20M=C3=A1r=20Gilbert?= Date: Sat, 6 Aug 2022 13:31:32 +0000 Subject: [PATCH] Remove TODO in ActivatePlannedRequest --- Firmware/mmu2_protocol_logic.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/Firmware/mmu2_protocol_logic.cpp b/Firmware/mmu2_protocol_logic.cpp index ca1ca9094..deed3ce5f 100644 --- a/Firmware/mmu2_protocol_logic.cpp +++ b/Firmware/mmu2_protocol_logic.cpp @@ -493,9 +493,6 @@ void ProtocolLogic::PlanGenericRequest(RequestMsg rq) { bool ProtocolLogic::ActivatePlannedRequest(){ if( plannedRq.code == RequestMsgCodes::Button ){ // only issue the button to the MMU and do not restart the state machines - // @@TODO - this is not completely correct, but it does the job. - // In Idle mode the command part is not active, but we still need button handling in Idle mode (resolve MMU init errors) - // -> command.SendButton is not correct, but it sends the message and everything works (for now) currentState->SendButton(plannedRq.value); plannedRq = RequestMsg(RequestMsgCodes::unknown, 0); return true;