1
0
Fork 0

Make serviceable property writable.

This commit is contained in:
david 2003-01-26 20:20:15 +00:00
parent c8f775c103
commit 113b1192c4
3 changed files with 3 additions and 3 deletions

View file

@ -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);
}

View file

@ -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);
}

View file

@ -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);
}