mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-08 19:13:44 +08:00
Add CSC message for sending ADC values across the bus
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user