first cut at turnon scripts for EasyTimer v2
[fw/altos] / src / kernel / ao_companion.h
index 4c16145564fb7a86e30691e224c6a643929fa5ec..a8fd100cef062cb9698314bfbc99ecb46e9f4b0d 100644 (file)
@@ -34,7 +34,7 @@ struct ao_companion_command {
        int16_t         accel;
        int16_t         speed;
        int16_t         height;
-       int16_t         motor_number;
+       uint16_t        motor_number;
 };
 
 struct ao_companion_setup {
@@ -44,11 +44,11 @@ struct ao_companion_setup {
        uint8_t         channels;
 };
 
-extern __pdata uint8_t                         ao_companion_running;
-extern __xdata uint8_t                         ao_companion_mutex;
-extern __xdata struct ao_companion_command     ao_companion_command;
-extern __xdata struct ao_companion_setup       ao_companion_setup;
-extern __xdata uint16_t                                ao_companion_data[AO_COMPANION_MAX_CHANNELS];
+extern uint8_t                         ao_companion_running;
+extern uint8_t                         ao_companion_mutex;
+extern struct ao_companion_command     ao_companion_command;
+extern struct ao_companion_setup       ao_companion_setup;
+extern uint16_t                                ao_companion_data[AO_COMPANION_MAX_CHANNELS];
 
 void
 ao_companion_init(void);