mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-07 08:24:43 -04:00
Web API: use message passing to start/stop device for all the rest of device plugins
This commit is contained in:
@@ -211,7 +211,7 @@ bool BladerfOutput::handleMessage(const Message& message)
|
||||
if (MsgConfigureBladerf::match(message))
|
||||
{
|
||||
MsgConfigureBladerf& conf = (MsgConfigureBladerf&) message;
|
||||
qDebug() << "BladerfInput::handleMessage: MsgConfigureBladerf";
|
||||
qDebug() << "BladerfOutput::handleMessage: MsgConfigureBladerf";
|
||||
|
||||
if (!applySettings(conf.getSettings(), conf.getForce()))
|
||||
{
|
||||
@@ -223,7 +223,7 @@ bool BladerfOutput::handleMessage(const Message& message)
|
||||
else if (MsgStartStop::match(message))
|
||||
{
|
||||
MsgStartStop& cmd = (MsgStartStop&) message;
|
||||
qDebug() << "SDRPlayInput::handleMessage: MsgStartStop: " << (cmd.getStartStop() ? "start" : "stop");
|
||||
qDebug() << "BladerfOutput::handleMessage: MsgStartStop: " << (cmd.getStartStop() ? "start" : "stop");
|
||||
|
||||
if (cmd.getStartStop())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user