Copter: move EARTH_FRAME definition to defines.h

defines.h is for defining enumerations and other unchanging values while
config.h is for changeable values like parameter defaults, enabling or
disabling sensors.
This commit is contained in:
Randy Mackay 2014-01-14 21:53:13 +09:00
parent 66859686a0
commit a3527ade61
2 changed files with 4 additions and 7 deletions

View File

@ -488,13 +488,6 @@
// Attitude Control
//
// definitions for earth frame and body frame
// used to specify frame to rate controllers
#define EARTH_FRAME 0
#define BODY_FRAME 1
#define BODY_EARTH_FRAME 2
// Flight mode roll, pitch, yaw, throttle and navigation definitions
// Stabilize Mode

View File

@ -180,6 +180,10 @@
// requested
#define NO_COMMAND 0
// Earth frame and body frame definitions used by rate controllers
#define EARTH_FRAME 0
#define BODY_FRAME 1
#define BODY_EARTH_FRAME 2
// Navigation modes held in nav_mode variable
#define NAV_NONE 0