mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-07 16:34:45 -04:00
REST API: config: GET (4): optimize channel settings API management and generally improve constedness
This commit is contained in:
@@ -33,17 +33,17 @@ void LoRaPlugin::initPlugin(PluginAPI* pluginAPI)
|
||||
m_pluginAPI->registerRxChannel(LoRaDemod::m_channelIdURI, LoRaDemod::m_channelId, this);
|
||||
}
|
||||
|
||||
PluginInstanceGUI* LoRaPlugin::createRxChannelGUI(DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel)
|
||||
PluginInstanceGUI* LoRaPlugin::createRxChannelGUI(DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel) const
|
||||
{
|
||||
return LoRaDemodGUI::create(m_pluginAPI, deviceUISet, rxChannel);
|
||||
}
|
||||
|
||||
BasebandSampleSink* LoRaPlugin::createRxChannelBS(DeviceAPI *deviceAPI)
|
||||
BasebandSampleSink* LoRaPlugin::createRxChannelBS(DeviceAPI *deviceAPI) const
|
||||
{
|
||||
return new LoRaDemod(deviceAPI);
|
||||
}
|
||||
|
||||
ChannelAPI* LoRaPlugin::createRxChannelCS(DeviceAPI *deviceAPI)
|
||||
ChannelAPI* LoRaPlugin::createRxChannelCS(DeviceAPI *deviceAPI) const
|
||||
{
|
||||
return new LoRaDemod(deviceAPI);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user