1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-16 13:21:50 -05:00

Remove unncessary debug from APT demod

This commit is contained in:
Jon Beniston 2021-04-07 21:24:30 +01:00
parent 8ac583f36c
commit 445c1b8615

View File

@ -572,15 +572,12 @@ int APTDemod::webapiActionsPost(
{ {
if (channelActionsKeys.contains("aos")) if (channelActionsKeys.contains("aos"))
{ {
qDebug() << "Aos action";
SWGSDRangel::SWGAPTDemodActions_aos* aos = swgAPTDemodActions->getAos(); SWGSDRangel::SWGAPTDemodActions_aos* aos = swgAPTDemodActions->getAos();
QString *satelliteName = aos->getSatelliteName(); QString *satelliteName = aos->getSatelliteName();
if (satelliteName != nullptr) if (satelliteName != nullptr)
{ {
qDebug() << "sat " << *satelliteName;
if (matchSatellite(*satelliteName)) if (matchSatellite(*satelliteName))
{ {
qDebug() << "Matched sat";
// Reset for new pass // Reset for new pass
resetDecoder(); resetDecoder();
m_basebandSink->getInputMessageQueue()->push(APTDemod::MsgResetDecoder::create()); m_basebandSink->getInputMessageQueue()->push(APTDemod::MsgResetDecoder::create());
@ -592,7 +589,7 @@ int APTDemod::webapiActionsPost(
APTDemodSettings settings = m_settings; APTDemodSettings settings = m_settings;
settings.m_decodeEnabled = true; settings.m_decodeEnabled = true;
settings.m_flip = !aos->getNorthToSouthPass(); settings.m_flip = !aos->getNorthToSouthPass();
qDebug() << "Sending settings";
m_inputMessageQueue.push(MsgConfigureAPTDemod::create(settings, false)); m_inputMessageQueue.push(MsgConfigureAPTDemod::create(settings, false));
if (m_guiMessageQueue) if (m_guiMessageQueue)
m_guiMessageQueue->push(MsgConfigureAPTDemod::create(settings, false)); m_guiMessageQueue->push(MsgConfigureAPTDemod::create(settings, false));