1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-07 00:14:49 -04:00

Web API: /sdrangel/deviceset/{deviceSetIndex}/channel (POST) fix and example

This commit is contained in:
f4exb
2017-12-11 01:36:34 +01:00
parent 0e3b558141
commit a513bd62b5
2 changed files with 53 additions and 1 deletions
+1 -1
View File
@@ -797,7 +797,7 @@ void WebAPIRequestMapper::devicesetChannelService(
if (jsonObject.contains("channelType") && jsonObject["channelType"].isString())
{
normalResponse.setChannelType(new QString(jsonObject["deviceHwType"].toString()));
normalResponse.setChannelType(new QString(jsonObject["channelType"].toString()));
int status = m_adapter->devicesetChannelPost(deviceSetIndex, normalResponse, errorResponse);