num(0),
static_port("/systems/static")
{
-
- for (int i = 0; altitude_data[i][0] != -1; i++)
+ int i;
+ for (i = 0; altitude_data[i][0] != -1; i++)
_altitude_table->addEntry(altitude_data[i][0], altitude_data[i][1]);
- int i;
for ( i = 0; i < node->nChildren(); ++i ) {
SGPropertyNode *child = node->getChild(i);
string cname = child->getName();
} else if ( cname == "static-port" ) {
static_port = cval;
} else {
- SG_LOG( SG_AUTOPILOT, SG_WARN, "Error in altimeter config logic" );
+ SG_LOG( SG_INSTR, SG_WARN, "Error in altimeter config logic" );
if ( name.length() ) {
- SG_LOG( SG_AUTOPILOT, SG_WARN, "Section = " << name );
+ SG_LOG( SG_INSTR, SG_WARN, "Section = " << name );
}
}
}