1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 09:18:54 -05:00

Rotator controller - Don't round az/el received from Sat Tracker, as we now support higher precision

This commit is contained in:
Jon Beniston 2021-12-10 20:33:19 +00:00
parent 4269aa4377
commit f752806dbf

View File

@ -102,8 +102,8 @@ bool GS232ControllerGUI::handleMessage(const Message& message)
MainCore::MsgTargetAzimuthElevation& msg = (MainCore::MsgTargetAzimuthElevation&) message; MainCore::MsgTargetAzimuthElevation& msg = (MainCore::MsgTargetAzimuthElevation&) message;
SWGSDRangel::SWGTargetAzimuthElevation *swgTarget = msg.getSWGTargetAzimuthElevation(); SWGSDRangel::SWGTargetAzimuthElevation *swgTarget = msg.getSWGTargetAzimuthElevation();
ui->azimuth->setValue(round(swgTarget->getAzimuth())); ui->azimuth->setValue(swgTarget->getAzimuth());
ui->elevation->setValue(round(swgTarget->getElevation())); ui->elevation->setValue(swgTarget->getElevation());
ui->targetName->setText(*swgTarget->getName()); ui->targetName->setText(*swgTarget->getName());
return true; return true;
} }