//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//
// $Id$
#include <Main/fg_props.hxx>
#define ATC_RADIO_DISPLAY_BYTES 48
+#define ATC_ANALOG_OUT_CHANNELS 48
#define ATC_COMPASS_CH 5
#define ATC_STEPPER_HOME 0xC0
SGPath config;
int lock_fd;
+ int analog_out_fd;
int lamps_fd;
int radio_display_fd;
int stepper_fd;
+ char analog_out_file[256];
char lamps_file[256];
char radio_display_file[256];
char stepper_file[256];
+ unsigned char analog_out_data[ATC_ANALOG_OUT_CHANNELS*2];
unsigned char radio_display_data[ATC_RADIO_DISPLAY_BYTES];
- SGPropertyNode *lamps_out_node;
- SGPropertyNode *radio_display_node;
- SGPropertyNode *steppers_node;
+ SGPropertyNode_ptr analog_out_node;
+ SGPropertyNode_ptr lamps_out_node;
+ SGPropertyNode_ptr radio_display_node;
+ SGPropertyNode_ptr steppers_node;
void init_config();
+ bool do_analog_out();
bool do_lamps();
bool do_radio_display();
bool do_steppers();