rotorcraft guidance vertical: include generated airframe before checking SUPERVISION_MIN_MOTOR

This commit is contained in:
Felix Ruess
2012-03-15 16:04:36 +01:00
parent c1f911023c
commit 6b8aa3bc49
@@ -24,6 +24,9 @@
#include "std.h"
#include "generated/airframe.h"
#include "firmwares/rotorcraft/guidance/guidance_v_ref.h"
/** Supervision default bounds
* In case Asctec controllers are used without supervision
* Used in control and adaptation filter
@@ -35,7 +38,6 @@
#define SUPERVISION_MAX_MOTOR 200
#endif
#include "firmwares/rotorcraft/guidance/guidance_v_ref.h"
#include "firmwares/rotorcraft/guidance/guidance_v_adpt.h"
#define GUIDANCE_V_MODE_KILL 0