mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-25 09:18:54 -05:00
Merge pull request #1076 from srcejon/gs232_dont_round_target_azel
Rotator controller - Don't round az/el received from Sat Tracker
This commit is contained in:
commit
dcc1b125ad
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user