1
0
Fork 0

Shut off spoken atis if radio's power button is off

This commit is contained in:
Torsten Dreyer 2014-12-11 11:20:34 +01:00
parent 01622dd1f4
commit b750e9d8b5

View file

@ -514,6 +514,8 @@ void CommRadioImpl::update(double dt)
#endif
if (false == (_power_btn)) {
_metarBridge->clearMetar();
_atis = "";
_stationTTL = 0.0;
return;
}