瀏覽代碼

Remove TODO in ActivatePlannedRequest

Guðni Már Gilbert 2 年之前
父節點
當前提交
f717aa161c
共有 1 個文件被更改,包括 0 次插入3 次删除
  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;