1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 21:54:55 -04:00

REST API: config: use specialized ChannelWebAPIAdapter class similar to what has been done for devices

This commit is contained in:
f4exb
2019-08-05 00:10:56 +02:00
parent a078239685
commit 7688f187bc
89 changed files with 209 additions and 461 deletions
@@ -682,7 +682,6 @@ void RTLSDRInput::webapiUpdateDeviceSettings(
void RTLSDRInput::webapiFormatDeviceSettings(SWGSDRangel::SWGDeviceSettings& response, const RTLSDRSettings& settings)
{
qDebug("RTLSDRInput::webapiFormatDeviceSettings: m_lowSampleRate: %s", settings.m_lowSampleRate ? "true" : "false");
response.getRtlSdrSettings()->setAgc(settings.m_agc ? 1 : 0);
response.getRtlSdrSettings()->setCenterFrequency(settings.m_centerFrequency);
response.getRtlSdrSettings()->setDcBlock(settings.m_dcBlock ? 1 : 0);