Tweak ...
This commit is contained in:
parent
bf4aa941be
commit
cdfb43f94d
1 changed files with 4 additions and 0 deletions
|
@ -267,6 +267,7 @@ bool FGATCOutput::open( int lock_fd ) {
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef ATCFLIGHTSIM_HAVE_COMPASS
|
||||||
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
||||||
// Home the compass stepper motor
|
// Home the compass stepper motor
|
||||||
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
||||||
|
@ -317,6 +318,7 @@ bool FGATCOutput::open( int lock_fd ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
compass_position = 0.0;
|
compass_position = 0.0;
|
||||||
|
#endif
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
||||||
// Blank the radio display
|
// Blank the radio display
|
||||||
|
@ -930,7 +932,9 @@ bool FGATCOutput::process() {
|
||||||
|
|
||||||
do_lamps();
|
do_lamps();
|
||||||
do_radio_display();
|
do_radio_display();
|
||||||
|
#ifdef ATCFLIGHTSIM_HAVE_COMPASS
|
||||||
do_steppers();
|
do_steppers();
|
||||||
|
#endif
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue