From 113b1192c41facbeea2e53fa8c9ded4e9e4f6c09 Mon Sep 17 00:00:00 2001 From: david Date: Sun, 26 Jan 2003 20:20:15 +0000 Subject: [PATCH] Make serviceable property writable. --- src/Instrumentation/attitude_indicator.cxx | 2 +- src/Instrumentation/heading_indicator.cxx | 2 +- src/Instrumentation/turn_indicator.cxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Instrumentation/attitude_indicator.cxx b/src/Instrumentation/attitude_indicator.cxx index 02a249e4c..cb0c5aa4f 100644 --- a/src/Instrumentation/attitude_indicator.cxx +++ b/src/Instrumentation/attitude_indicator.cxx @@ -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); } diff --git a/src/Instrumentation/heading_indicator.cxx b/src/Instrumentation/heading_indicator.cxx index 66fdd833c..8f323366a 100644 --- a/src/Instrumentation/heading_indicator.cxx +++ b/src/Instrumentation/heading_indicator.cxx @@ -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); } diff --git a/src/Instrumentation/turn_indicator.cxx b/src/Instrumentation/turn_indicator.cxx index d2bd957c3..7e56b5b34 100644 --- a/src/Instrumentation/turn_indicator.cxx +++ b/src/Instrumentation/turn_indicator.cxx @@ -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); }