1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-08 00:44:48 -04:00

REST API: server mode instance summary streaming type fix

This commit is contained in:
f4exb
2019-05-09 11:11:31 +02:00
parent f176110959
commit f94579921d
2 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -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());