Add CSC message for sending ADC values across the bus

This commit is contained in:
Allen Ibara
2009-05-19 05:23:27 +00:00
parent 8a941dab16
commit 18cfa7399c
+6
View File
@@ -5,6 +5,7 @@
#define CSC_MOTOR_CMD_ID 1
#define CSC_MOTOR_STATUS_ID 2
#define CSC_BOARD_STATUS_ID 3
#define CSC_BOARD_ADCVOLTS_ID 4
/* Received from the autopilot */
struct CscServoCmd {
@@ -26,4 +27,9 @@ struct CscStatusMsg {
uint32_t msg_count;
} __attribute__((packed));
struct CscADCMsg {
float ADCVolts1;
float ADCVolts2;
} __attribute__((packed));
#endif