Make serviceable property writable.
This commit is contained in:
parent
c8f775c103
commit
113b1192c4
3 changed files with 3 additions and 3 deletions
|
@ -39,7 +39,7 @@ void
|
|||
AttitudeIndicator::bind ()
|
||||
{
|
||||
fgTie("/instrumentation/attitude-indicator/serviceable",
|
||||
&_gyro, &Gyro::is_serviceable);
|
||||
&_gyro, &Gyro::is_serviceable, &Gyro::set_serviceable);
|
||||
fgTie("/instrumentation/attitude-indicator/spin",
|
||||
&_gyro, &Gyro::get_spin_norm, &Gyro::set_spin_norm);
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@ void
|
|||
HeadingIndicator::bind ()
|
||||
{
|
||||
fgTie("/instrumentation/heading-indicator/serviceable",
|
||||
&_gyro, &Gyro::is_serviceable);
|
||||
&_gyro, &Gyro::is_serviceable, &Gyro::set_serviceable);
|
||||
fgTie("/instrumentation/heading-indicator/spin",
|
||||
&_gyro, &Gyro::get_spin_norm, &Gyro::set_spin_norm);
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ void
|
|||
TurnIndicator::bind ()
|
||||
{
|
||||
fgTie("/instrumentation/turn-indicator/serviceable",
|
||||
&_gyro, &Gyro::is_serviceable);
|
||||
&_gyro, &Gyro::is_serviceable, &Gyro::set_serviceable);
|
||||
fgTie("/instrumentation/turn-indicator/spin",
|
||||
&_gyro, &Gyro::get_spin_norm, &Gyro::set_spin_norm);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue