mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 16:48:29 -04:00
Copter: remove some unused definitions
This commit is contained in:
parent
dd5521aa06
commit
66859686a0
@ -94,25 +94,12 @@
|
||||
#define X_FRAME 1
|
||||
#define V_FRAME 2
|
||||
|
||||
// LED output
|
||||
#define NORMAL_LEDS 0
|
||||
#define SAVE_TRIM_LEDS 1
|
||||
|
||||
|
||||
// Internal defines, don't edit and expect things to work
|
||||
// -------------------------------------------------------
|
||||
|
||||
#define TRUE 1
|
||||
#define FALSE 0
|
||||
#define ToRad(x) radians(x) // *pi/180
|
||||
#define ToDeg(x) degrees(x) // *180/pi
|
||||
|
||||
#define DEBUG 0
|
||||
#define LOITER_RANGE 60 // for calculating power outside of loiter radius
|
||||
|
||||
#define T6 1000000
|
||||
#define T7 10000000
|
||||
|
||||
// GPS type codes - use the names, not the numbers
|
||||
#define GPS_PROTOCOL_NONE -1
|
||||
#define GPS_PROTOCOL_NMEA 0
|
||||
@ -129,11 +116,6 @@
|
||||
#define HIL_MODE_ATTITUDE 1
|
||||
#define HIL_MODE_SENSORS 2
|
||||
|
||||
// Altitude status definitions
|
||||
#define REACHED_ALT 0
|
||||
#define DESCENDING 1
|
||||
#define ASCENDING 2
|
||||
|
||||
// Auto Pilot modes
|
||||
// ----------------
|
||||
#define STABILIZE 0 // hold level position
|
||||
|
Loading…
Reference in New Issue
Block a user