X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fencoder.cxx;h=5fd5504e7d859c4d9118a35041dfbf963cea3520;hb=010e03fab49219813f2957b0e494672d01d62ff4;hp=0c1517aecba145b0f32cbf83970d726c475eb1e7;hpb=3420e2383336b5277f43e4ed631bedf44339b804;p=flightgear.git diff --git a/src/Instrumentation/encoder.cxx b/src/Instrumentation/encoder.cxx index 0c1517aec..5fd5504e7 100644 --- a/src/Instrumentation/encoder.cxx +++ b/src/Instrumentation/encoder.cxx @@ -16,7 +16,7 @@ // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software -// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #ifdef HAVE_CONFIG_H # include @@ -62,10 +62,10 @@ int round (double value, int nearest=1) Encoder::Encoder(SGPropertyNode *node) : - altitudeTable(new SGInterpTable), name("encoder"), num(0), - staticPort("/systems/static") + staticPort("/systems/static"), + altitudeTable(new SGInterpTable) { int i; for ( i = 0; altitude_data[i][0] != -1; i++ ) @@ -112,8 +112,6 @@ void Encoder::init() // Outputs pressureAltitudeNode = node->getChild("pressure-alt-ft", 0, true); modeCAltitudeNode = node->getChild("mode-c-alt-ft", 0, true); - // Init - serviceableNode->setBoolValue(true); }