Compile without ENABLE_FLITE
This commit is contained in:
parent
4cdb5ed1f3
commit
1c8c74fc76
1 changed files with 2 additions and 0 deletions
|
@ -546,7 +546,9 @@ void CommRadioImpl::update(double dt)
|
||||||
_stationName = _commStationForFrequency->ident();
|
_stationName = _commStationForFrequency->ident();
|
||||||
_airportId = _commStationForFrequency->airport()->getId();
|
_airportId = _commStationForFrequency->airport()->getId();
|
||||||
|
|
||||||
|
#if defined(ENABLE_FLITE)
|
||||||
_atisSpeaker.setStationId(_airportId);
|
_atisSpeaker.setStationId(_airportId);
|
||||||
|
#endif
|
||||||
switch (_commStationForFrequency->type()) {
|
switch (_commStationForFrequency->type()) {
|
||||||
case FGPositioned::FREQ_ATIS:
|
case FGPositioned::FREQ_ATIS:
|
||||||
case FGPositioned::FREQ_AWOS: {
|
case FGPositioned::FREQ_AWOS: {
|
||||||
|
|
Loading…
Reference in a new issue