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 ()
|
AttitudeIndicator::bind ()
|
||||||
{
|
{
|
||||||
fgTie("/instrumentation/attitude-indicator/serviceable",
|
fgTie("/instrumentation/attitude-indicator/serviceable",
|
||||||
&_gyro, &Gyro::is_serviceable);
|
&_gyro, &Gyro::is_serviceable, &Gyro::set_serviceable);
|
||||||
fgTie("/instrumentation/attitude-indicator/spin",
|
fgTie("/instrumentation/attitude-indicator/spin",
|
||||||
&_gyro, &Gyro::get_spin_norm, &Gyro::set_spin_norm);
|
&_gyro, &Gyro::get_spin_norm, &Gyro::set_spin_norm);
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,7 +34,7 @@ void
|
||||||
HeadingIndicator::bind ()
|
HeadingIndicator::bind ()
|
||||||
{
|
{
|
||||||
fgTie("/instrumentation/heading-indicator/serviceable",
|
fgTie("/instrumentation/heading-indicator/serviceable",
|
||||||
&_gyro, &Gyro::is_serviceable);
|
&_gyro, &Gyro::is_serviceable, &Gyro::set_serviceable);
|
||||||
fgTie("/instrumentation/heading-indicator/spin",
|
fgTie("/instrumentation/heading-indicator/spin",
|
||||||
&_gyro, &Gyro::get_spin_norm, &Gyro::set_spin_norm);
|
&_gyro, &Gyro::get_spin_norm, &Gyro::set_spin_norm);
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,7 +31,7 @@ void
|
||||||
TurnIndicator::bind ()
|
TurnIndicator::bind ()
|
||||||
{
|
{
|
||||||
fgTie("/instrumentation/turn-indicator/serviceable",
|
fgTie("/instrumentation/turn-indicator/serviceable",
|
||||||
&_gyro, &Gyro::is_serviceable);
|
&_gyro, &Gyro::is_serviceable, &Gyro::set_serviceable);
|
||||||
fgTie("/instrumentation/turn-indicator/spin",
|
fgTie("/instrumentation/turn-indicator/spin",
|
||||||
&_gyro, &Gyro::get_spin_norm, &Gyro::set_spin_norm);
|
&_gyro, &Gyro::get_spin_norm, &Gyro::set_spin_norm);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue