Remove TODO in ActivatePlannedRequest

This commit is contained in:
Guðni Már Gilbert 2022-08-06 13:31:32 +00:00 committed by D.R.racer
parent b9d9308f9f
commit f717aa161c
1 changed files with 0 additions and 3 deletions

View File

@ -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;