Shut off spoken atis if radio's power button is off
This commit is contained in:
parent
01622dd1f4
commit
b750e9d8b5
1 changed files with 2 additions and 0 deletions
|
@ -514,6 +514,8 @@ void CommRadioImpl::update(double dt)
|
|||
#endif
|
||||
|
||||
if (false == (_power_btn)) {
|
||||
_metarBridge->clearMetar();
|
||||
_atis = "";
|
||||
_stationTTL = 0.0;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue