Browse Source

Remove old comment, button is acknowledged now

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

+ 0 - 2
Firmware/mmu2_protocol_logic.cpp

@@ -314,7 +314,6 @@ StepStatus Command::Step() {
     case State::FINDAReqSent:
         return ProcessFINDAReqSent(Processing, State::Wait);
     case State::ButtonSent:{
-        // button is never confirmed ... may be it should be
         if (auto expmsg = logic->ExpectingMessage(linkLayerTimeout); expmsg != MessageReady)
             return expmsg;
         if (logic->rsp.paramCode == ResponseMsgParamCodes::Accepted) {
@@ -392,7 +391,6 @@ StepStatus Idle::Step() {
     case State::FINDAReqSent:
         return ProcessFINDAReqSent(Finished, State::Ready);
     case State::ButtonSent:{
-        // button is never confirmed ... may be it should be
         if (auto expmsg = logic->ExpectingMessage(linkLayerTimeout); expmsg != MessageReady)
             return expmsg;
         if (logic->rsp.paramCode == ResponseMsgParamCodes::Accepted) {