mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-27 17:06:31 +08:00
fix mavlink undefined autopilot functions warning
This commit is contained in:
@@ -48,8 +48,6 @@
|
|||||||
#include "firmwares/rotorcraft/stabilization/stabilization_rate.h"
|
#include "firmwares/rotorcraft/stabilization/stabilization_rate.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "firmwares/rotorcraft/autopilot_guided.h"
|
|
||||||
|
|
||||||
#include "generated/settings.h"
|
#include "generated/settings.h"
|
||||||
|
|
||||||
#if USE_GPS
|
#if USE_GPS
|
||||||
|
|||||||
@@ -32,6 +32,7 @@
|
|||||||
#include "std.h"
|
#include "std.h"
|
||||||
#include "generated/airframe.h"
|
#include "generated/airframe.h"
|
||||||
#include "state.h"
|
#include "state.h"
|
||||||
|
#include "autopilot_guided.h"
|
||||||
|
|
||||||
#define AP_MODE_KILL 0
|
#define AP_MODE_KILL 0
|
||||||
#define AP_MODE_FAILSAFE 1
|
#define AP_MODE_FAILSAFE 1
|
||||||
|
|||||||
@@ -49,6 +49,7 @@
|
|||||||
#include "subsystems/electrical.h"
|
#include "subsystems/electrical.h"
|
||||||
#include "state.h"
|
#include "state.h"
|
||||||
#include "pprz_version.h"
|
#include "pprz_version.h"
|
||||||
|
#include "autopilot.h"
|
||||||
|
|
||||||
#if defined RADIO_CONTROL
|
#if defined RADIO_CONTROL
|
||||||
#include "subsystems/radio_control.h"
|
#include "subsystems/radio_control.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user