diff --git a/sw/airborne/fms/fms_autopilot_msg.h b/sw/airborne/fms/fms_autopilot_msg.h index 3a5e6ecc08..de1874fa35 100644 --- a/sw/airborne/fms/fms_autopilot_msg.h +++ b/sw/airborne/fms/fms_autopilot_msg.h @@ -4,7 +4,8 @@ #include #include "math/pprz_algebra_int.h" #include "airframe.h" -#include "adc.h" +//#include "adc.h" +#define NB_ADC 8 #define LISA_PWM_OUTPUT_NB 6 @@ -80,7 +81,7 @@ struct __attribute__ ((packed)) PTUpValidFlags unsigned pressure_differential:1; unsigned vane:1; unsigned imu:1; - unsigned adc:1; + unsigned adc:1; }; struct __attribute__ ((packed)) AutopilotMessagePTUp @@ -102,7 +103,7 @@ struct __attribute__ ((packed)) AutopilotMessagePTUp uint8_t rc_status; float vane_angle1; float vane_angle2; - struct ADCMessage adc; + struct ADCMessage adc; struct PTUpValidFlags valid; uint32_t stm_msg_cnt;