Prevent a warning.
This commit is contained in:
parent
6849328fea
commit
8141bfe2da
1 changed files with 1 additions and 1 deletions
|
@ -932,7 +932,7 @@ void DCLGPS::OBSPressed() {
|
||||||
_obsMode = !_obsMode;
|
_obsMode = !_obsMode;
|
||||||
if(_obsMode) {
|
if(_obsMode) {
|
||||||
if(!_activeWaypoint.id.empty()) {
|
if(!_activeWaypoint.id.empty()) {
|
||||||
_obsHeading = _dtkMag;
|
_obsHeading = static_cast<int>(_dtkMag);
|
||||||
}
|
}
|
||||||
// TODO - the _fromWaypoint location will change as the OBS heading changes.
|
// TODO - the _fromWaypoint location will change as the OBS heading changes.
|
||||||
// Might need to store the OBS initiation position somewhere in case it is needed again.
|
// Might need to store the OBS initiation position somewhere in case it is needed again.
|
||||||
|
|
Loading…
Add table
Reference in a new issue