diff --git a/conf/airframes/examples/setup_lisam2.xml b/conf/airframes/examples/setup_lisam2.xml new file mode 100644 index 0000000000..c4cb793b1e --- /dev/null +++ b/conf/airframes/examples/setup_lisam2.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/conf/conf.xml.example b/conf/conf.xml.example index b7c9fc3197..00c52c50b5 100644 --- a/conf/conf.xml.example +++ b/conf/conf.xml.example @@ -76,7 +76,16 @@ settings="settings/fixedwing_basic.xml settings/estimation/infrared.xml" gui_color="red" /> - + + @@ -13,4 +14,5 @@ + diff --git a/sw/airborne/firmwares/setup/setup_actuators.c b/sw/airborne/firmwares/setup/setup_actuators.c index f758a1d1dd..875e9dc2fb 100644 --- a/sw/airborne/firmwares/setup/setup_actuators.c +++ b/sw/airborne/firmwares/setup/setup_actuators.c @@ -1,16 +1,23 @@ +#include "generated/airframe.h" + #include "std.h" #include "mcu.h" #include "mcu_periph/sys_time.h" #include "led.h" #include "firmwares/fixedwing/actuators.h" //#include "actuators.h" -#include "generated/airframe.h" + +#include "firmwares/fixedwing/main_fbw.h" + +#ifndef DOWNLINK_DEVICE +#define DOWNLINK_DEVICE DOWNLINK_AP_DEVICE +#endif + #define DATALINK_C #include "subsystems/datalink/datalink.h" #include "subsystems/datalink/pprz_transport.h" #include "mcu_periph/uart.h" #include "subsystems/datalink/downlink.h" -#include "firmwares/fixedwing/main_fbw.h" #include "generated/settings.h"