Browse Source

Remove TODO in ActivatePlannedRequest

Guðni Már Gilbert 2 years ago
parent
commit
f717aa161c
1 changed files with 0 additions and 3 deletions
  1. 0 3
      Firmware/mmu2_protocol_logic.cpp

+ 0 - 3
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;