1
0
Fork 0

Fix spelling error by Markus Wanner

This commit is contained in:
Clément de l'Hamaide 2013-09-23 01:02:10 +02:00
parent 639c7b82ee
commit 023c136d40
4 changed files with 8 additions and 8 deletions

View file

@ -137,7 +137,7 @@ GPS::init ()
_northSouthVelocity = _gpsNode->getChild("ns-velocity-msec", 0, true);
// 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);
wp1Crs->alias(_gpsNode->getChild("desired-course-deg", 0, true));
@ -776,7 +776,7 @@ void GPS::driveAutopilot()
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*
bool drive = _mode == "leg";

View file

@ -177,10 +177,10 @@ bool FGInstrumentMgr::build (SGPropertyNode* config_props)
} else if (( name == "transponder" ) || ( 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");
// force configuration into compatability mode
node->setBoolValue("kt70-compatability", true);
// force configuration into compatibility mode
node->setBoolValue("kt70-compatibility", true);
}
set_subsystem( id, new Transponder( node ), 0.2 );

View file

@ -56,7 +56,7 @@ Transponder::Transponder(SGPropertyNode *node)
{
_requiredBusVolts = node->getDoubleValue("bus-volts", 8.0);
_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 );
_tiedProperties.Tie("annunciators/reply", this,
&Transponder::getReplyAnnunciator );
} // of kt70 backwards compatability
} // of kt70 backwards compatibility
}
void Transponder::unbind()

View file

@ -60,7 +60,7 @@ private:
KNOB_ALT
};
// annunciators, for KT-70 compatability only
// annunciators, for KT-70 compatibility only
// these should be replaced with conditionals in the instrument
bool getFLAnnunciator() const;
bool getAltAnnunciator() const;