#ifdef LOCAL
#define EXTERN
#else
#define EXTERN extern
#endif

// this represents the debounced state of the switches - not the physical sw.
struct panel {
unsigned int man_az_cw:1; 
unsigned int man_az_ccw:1; 
unsigned int man_el_up:1; 
unsigned int man_el_down:1; 
unsigned int az_pulse:1; 
unsigned int el_pulse:1; 
unsigned int calibrate:1; 
unsigned int auto_track:1; 
};
EXTERN struct panel switches;
