1
0
Fork 0

Fixed navradio when shutting down/restarting nav receiver.

"nav-loc" and "has_gs" properties were not updated when nav receiver was rebooted.

Shutting down the nav receiver clears all nav outputs (including "nav-loc" and "has_gs").
=> When nav receiver is powered again, all outputs must be updated.
=> "nav-loc" and "has_gs" are only updated when active nav station changes.
=> old nav station must be cleared on shutdown to enforce update on nav reboot...
This commit is contained in:
Thorsten Brehm 2010-10-05 22:34:08 +02:00
parent 9ffaf11aa5
commit 9be636555c

View file

@ -390,6 +390,7 @@ void FGNavRadio::clearOutputs()
_dmeInRange = false;
_operable = false;
_navaid = NULL;
}
void FGNavRadio::updateReceiver(double dt)