1
0
Fork 0

Corrected some typos.

This commit is contained in:
david 2003-03-10 14:09:26 +00:00
parent aabe4da5ca
commit f10f03fd43

View file

@ -54,7 +54,7 @@ DME::init ()
{ {
_longitude_node = fgGetNode("/position/longitude-deg", true); _longitude_node = fgGetNode("/position/longitude-deg", true);
_latitude_node = fgGetNode("/position/latitude-deg", true); _latitude_node = fgGetNode("/position/latitude-deg", true);
_altitude_node = fgGetNode("/position/altitude-deg", true); _altitude_node = fgGetNode("/position/altitude-ft", true);
_serviceable_node = fgGetNode("/instrumentation/dme/serviceable", true); _serviceable_node = fgGetNode("/instrumentation/dme/serviceable", true);
_electrical_node = fgGetNode("/systems/electrical/outputs/dme", true); _electrical_node = fgGetNode("/systems/electrical/outputs/dme", true);
_source_node = fgGetNode("/instrumentation/dme/frequencies/source", true); _source_node = fgGetNode("/instrumentation/dme/frequencies/source", true);
@ -93,7 +93,7 @@ DME::update (double delta_time_sec)
double latitude_rad = double latitude_rad =
_latitude_node->getDoubleValue() * SGD_DEGREES_TO_RADIANS; _latitude_node->getDoubleValue() * SGD_DEGREES_TO_RADIANS;
double altitude_m = double altitude_m =
_altitude_node->getDoubleValue() * SGD_DEGREES_TO_RADIANS; _altitude_node->getDoubleValue() * SG_FEET_TO_METER;
// On timeout, scan again // On timeout, scan again
_time_before_search_sec -= delta_time_sec; _time_before_search_sec -= delta_time_sec;