mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 06:04:39 -04:00
Plugin interface: use enum for single Rx or single Tx type and added the any type
This commit is contained in:
@@ -133,7 +133,7 @@ int WebAPIAdapterGUI::instanceDevices(
|
||||
*devices->back()->getHwType() = samplingDevice.hardwareId;
|
||||
*devices->back()->getSerial() = samplingDevice.serial;
|
||||
devices->back()->setSequence(samplingDevice.sequence);
|
||||
devices->back()->setDirection(samplingDevice.rxElseTx ? 0 : 1);
|
||||
devices->back()->setDirection((int) samplingDevice.streamType);
|
||||
devices->back()->setDeviceNbStreams(samplingDevice.deviceNbItems);
|
||||
devices->back()->setDeviceSetIndex(samplingDevice.claimed);
|
||||
devices->back()->setIndex(i);
|
||||
|
||||
Reference in New Issue
Block a user