Fix a bug that is screwing me!
This commit is contained in:
parent
f8b8a55ef2
commit
0590333e53
1 changed files with 0 additions and 4 deletions
|
@ -464,22 +464,18 @@ bool FGATCOutput::do_analog_out() {
|
||||||
}
|
}
|
||||||
prop = child->getChild( "value-lo" );
|
prop = child->getChild( "value-lo" );
|
||||||
if ( prop != NULL ) {
|
if ( prop != NULL ) {
|
||||||
prop = fgGetNode( prop->getStringValue(), true );
|
|
||||||
x0 = prop->getDoubleValue();
|
x0 = prop->getDoubleValue();
|
||||||
}
|
}
|
||||||
prop = child->getChild( "meter-lo" );
|
prop = child->getChild( "meter-lo" );
|
||||||
if ( prop != NULL ) {
|
if ( prop != NULL ) {
|
||||||
prop = fgGetNode( prop->getStringValue(), true );
|
|
||||||
y0 = prop->getDoubleValue();
|
y0 = prop->getDoubleValue();
|
||||||
}
|
}
|
||||||
prop = child->getChild( "value-hi" );
|
prop = child->getChild( "value-hi" );
|
||||||
if ( prop != NULL ) {
|
if ( prop != NULL ) {
|
||||||
prop = fgGetNode( prop->getStringValue(), true );
|
|
||||||
x1 = prop->getDoubleValue();
|
x1 = prop->getDoubleValue();
|
||||||
}
|
}
|
||||||
prop = child->getChild( "meter-hi" );
|
prop = child->getChild( "meter-hi" );
|
||||||
if ( prop != NULL ) {
|
if ( prop != NULL ) {
|
||||||
prop = fgGetNode( prop->getStringValue(), true );
|
|
||||||
y1 = prop->getDoubleValue();
|
y1 = prop->getDoubleValue();
|
||||||
}
|
}
|
||||||
// crunch linear interpolation formula
|
// crunch linear interpolation formula
|
||||||
|
|
Loading…
Add table
Reference in a new issue