mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 01:55:48 -05:00
REST API: server mode instance summary streaming type fix
This commit is contained in:
parent
f176110959
commit
f94579921d
@ -70,8 +70,9 @@ SOURCES += audio/audiodevicemanager.cpp\
|
||||
channel/remotedataqueue.cpp\
|
||||
channel/remotedatareadqueue.cpp\
|
||||
commands/command.cpp\
|
||||
device/devicesourceapi.cpp\
|
||||
device/devicesinkapi.cpp\
|
||||
device/deviceapi.cpp\
|
||||
# device/devicesourceapi.cpp\
|
||||
# device/devicesinkapi.cpp\
|
||||
device/deviceenumerator.cpp\
|
||||
dsp/afsquelch.cpp\
|
||||
dsp/agc.cpp\
|
||||
@ -154,8 +155,9 @@ HEADERS += audio/audiodevicemanager.h\
|
||||
channel/remotedatareadqueue.h\
|
||||
channel/remotedatablock.h\
|
||||
commands/command.h\
|
||||
device/devicesourceapi.h\
|
||||
device/devicesinkapi.h\
|
||||
device/deviceapi.h\
|
||||
# device/devicesourceapi.h\
|
||||
# device/devicesinkapi.h\
|
||||
device/deviceenumerator.h\
|
||||
dsp/afsquelch.h\
|
||||
dsp/decimatorsfi.h\
|
||||
|
@ -1859,7 +1859,7 @@ void WebAPIAdapterSrv::getDeviceSet(SWGSDRangel::SWGDeviceSet *swgDeviceSet, con
|
||||
|
||||
if (deviceSet->m_deviceSourceEngine) // Single Rx data
|
||||
{
|
||||
samplingDevice->setDirection(1);
|
||||
samplingDevice->setDirection(0);
|
||||
*samplingDevice->getHwType() = deviceSet->m_deviceAPI->getHardwareId();
|
||||
*samplingDevice->getSerial() = deviceSet->m_deviceAPI->getSamplingDeviceSerial();
|
||||
samplingDevice->setSequence(deviceSet->m_deviceAPI->getSamplingDeviceSequence());
|
||||
|
Loading…
Reference in New Issue
Block a user