Fix spelling error by Markus Wanner
This commit is contained in:
parent
639c7b82ee
commit
023c136d40
4 changed files with 8 additions and 8 deletions
|
@ -137,7 +137,7 @@ GPS::init ()
|
||||||
_northSouthVelocity = _gpsNode->getChild("ns-velocity-msec", 0, true);
|
_northSouthVelocity = _gpsNode->getChild("ns-velocity-msec", 0, true);
|
||||||
|
|
||||||
// waypoints
|
// waypoints
|
||||||
// for compatability, alias selected course down to wp/wp[1]/desired-course-deg
|
// for compatibility, alias selected course down to wp/wp[1]/desired-course-deg
|
||||||
SGPropertyNode* wp1Crs = _currentWayptNode->getChild("desired-course-deg", 0, true);
|
SGPropertyNode* wp1Crs = _currentWayptNode->getChild("desired-course-deg", 0, true);
|
||||||
wp1Crs->alias(_gpsNode->getChild("desired-course-deg", 0, true));
|
wp1Crs->alias(_gpsNode->getChild("desired-course-deg", 0, true));
|
||||||
|
|
||||||
|
@ -776,7 +776,7 @@ void GPS::driveAutopilot()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// compatability feature - allow the route-manager / GPS to drive the
|
// compatibility feature - allow the route-manager / GPS to drive the
|
||||||
// generic autopilot heading hold *in leg mode only*
|
// generic autopilot heading hold *in leg mode only*
|
||||||
|
|
||||||
bool drive = _mode == "leg";
|
bool drive = _mode == "leg";
|
||||||
|
|
|
@ -177,10 +177,10 @@ bool FGInstrumentMgr::build (SGPropertyNode* config_props)
|
||||||
|
|
||||||
} else if (( name == "transponder" ) || ( name == "KT-70" )) {
|
} else if (( name == "transponder" ) || ( name == "KT-70" )) {
|
||||||
if (name == "KT-70") {
|
if (name == "KT-70") {
|
||||||
SG_LOG(SG_INSTR, SG_WARN, "KT-70 legacy instrument compatability. "
|
SG_LOG(SG_INSTR, SG_WARN, "KT-70 legacy instrument compatibility. "
|
||||||
"Please update aircraft to use transponder directly");
|
"Please update aircraft to use transponder directly");
|
||||||
// force configuration into compatability mode
|
// force configuration into compatibility mode
|
||||||
node->setBoolValue("kt70-compatability", true);
|
node->setBoolValue("kt70-compatibility", true);
|
||||||
}
|
}
|
||||||
set_subsystem( id, new Transponder( node ), 0.2 );
|
set_subsystem( id, new Transponder( node ), 0.2 );
|
||||||
|
|
||||||
|
|
|
@ -56,7 +56,7 @@ Transponder::Transponder(SGPropertyNode *node)
|
||||||
{
|
{
|
||||||
_requiredBusVolts = node->getDoubleValue("bus-volts", 8.0);
|
_requiredBusVolts = node->getDoubleValue("bus-volts", 8.0);
|
||||||
_altitudeSourcePath = node->getStringValue("encoder-path", "/instrumentation/altimeter");
|
_altitudeSourcePath = node->getStringValue("encoder-path", "/instrumentation/altimeter");
|
||||||
_kt70Compat = node->getBoolValue("kt70-compatability", false);
|
_kt70Compat = node->getBoolValue("kt70-compatibility", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -142,7 +142,7 @@ void Transponder::bind()
|
||||||
&Transponder::getStandbyAnnunciator );
|
&Transponder::getStandbyAnnunciator );
|
||||||
_tiedProperties.Tie("annunciators/reply", this,
|
_tiedProperties.Tie("annunciators/reply", this,
|
||||||
&Transponder::getReplyAnnunciator );
|
&Transponder::getReplyAnnunciator );
|
||||||
} // of kt70 backwards compatability
|
} // of kt70 backwards compatibility
|
||||||
}
|
}
|
||||||
|
|
||||||
void Transponder::unbind()
|
void Transponder::unbind()
|
||||||
|
|
|
@ -60,7 +60,7 @@ private:
|
||||||
KNOB_ALT
|
KNOB_ALT
|
||||||
};
|
};
|
||||||
|
|
||||||
// annunciators, for KT-70 compatability only
|
// annunciators, for KT-70 compatibility only
|
||||||
// these should be replaced with conditionals in the instrument
|
// these should be replaced with conditionals in the instrument
|
||||||
bool getFLAnnunciator() const;
|
bool getFLAnnunciator() const;
|
||||||
bool getAltAnnunciator() const;
|
bool getAltAnnunciator() const;
|
||||||
|
|
Loading…
Add table
Reference in a new issue