mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-05-28 21:12:26 -04:00
Implemented run action API in relevant feature plugins. Missing bits.
This commit is contained in:
parent
920fa82022
commit
10f79b183f
@ -341,7 +341,6 @@ int AFC::webapiActionsPost(
|
|||||||
{
|
{
|
||||||
bool featureRun = swgAFCActions->getRun() != 0;
|
bool featureRun = swgAFCActions->getRun() != 0;
|
||||||
unknownAction = false;
|
unknownAction = false;
|
||||||
|
|
||||||
MsgStartStop *msg = MsgStartStop::create(featureRun);
|
MsgStartStop *msg = MsgStartStop::create(featureRun);
|
||||||
getInputMessageQueue()->push(msg);
|
getInputMessageQueue()->push(msg);
|
||||||
}
|
}
|
||||||
|
@ -402,10 +402,8 @@ int GS232Controller::webapiActionsPost(
|
|||||||
if (featureActionsKeys.contains("run"))
|
if (featureActionsKeys.contains("run"))
|
||||||
{
|
{
|
||||||
bool featureRun = swgGS232ControllerActions->getRun() != 0;
|
bool featureRun = swgGS232ControllerActions->getRun() != 0;
|
||||||
|
|
||||||
MsgStartStop *msg = MsgStartStop::create(featureRun);
|
MsgStartStop *msg = MsgStartStop::create(featureRun);
|
||||||
getInputMessageQueue()->push(msg);
|
getInputMessageQueue()->push(msg);
|
||||||
|
|
||||||
return 202;
|
return 202;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -493,7 +493,6 @@ int PERTester::webapiActionsPost(
|
|||||||
bool featureRun = swgPERTesterActions->getRun() != 0;
|
bool featureRun = swgPERTesterActions->getRun() != 0;
|
||||||
unknownAction = false;
|
unknownAction = false;
|
||||||
MsgStartStop *msg = MsgStartStop::create(featureRun);
|
MsgStartStop *msg = MsgStartStop::create(featureRun);
|
||||||
|
|
||||||
getInputMessageQueue()->push(msg);
|
getInputMessageQueue()->push(msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user