Implemented run action API in relevant feature plugins. Missing bits.

This commit is contained in:
f4exb 2021-10-23 10:53:15 +02:00
parent 920fa82022
commit 10f79b183f
3 changed files with 0 additions and 4 deletions

View File

@ -341,7 +341,6 @@ int AFC::webapiActionsPost(
{
bool featureRun = swgAFCActions->getRun() != 0;
unknownAction = false;
MsgStartStop *msg = MsgStartStop::create(featureRun);
getInputMessageQueue()->push(msg);
}

View File

@ -402,10 +402,8 @@ int GS232Controller::webapiActionsPost(
if (featureActionsKeys.contains("run"))
{
bool featureRun = swgGS232ControllerActions->getRun() != 0;
MsgStartStop *msg = MsgStartStop::create(featureRun);
getInputMessageQueue()->push(msg);
return 202;
}
else

View File

@ -493,7 +493,6 @@ int PERTester::webapiActionsPost(
bool featureRun = swgPERTesterActions->getRun() != 0;
unknownAction = false;
MsgStartStop *msg = MsgStartStop::create(featureRun);
getInputMessageQueue()->push(msg);
}