BFM demod: fixed report mapper

This commit is contained in:
f4exb 2018-05-28 11:43:24 +02:00
parent 4c86106b2a
commit e27ca22c86
1 changed files with 4 additions and 0 deletions

View File

@ -678,6 +678,10 @@ void BFMDemod::webapiFormatChannelReport(SWGSDRangel::SWGChannelReport& response
response.getBfmDemodReport()->setRdsReport(new SWGSDRangel::SWGRDSReport()); response.getBfmDemodReport()->setRdsReport(new SWGSDRangel::SWGRDSReport());
webapiFormatRDSReport(response.getBfmDemodReport()->getRdsReport()); webapiFormatRDSReport(response.getBfmDemodReport()->getRdsReport());
} }
else
{
response.getBfmDemodReport()->setRdsReport(0);
}
} }
void BFMDemod::webapiFormatRDSReport(SWGSDRangel::SWGRDSReport *report) void BFMDemod::webapiFormatRDSReport(SWGSDRangel::SWGRDSReport *report)