mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
APMrover2: define ENABLE as ENABLED
Same for DISABLE as typo error protection
This commit is contained in:
parent
fdafa4561c
commit
b16369ec8c
@ -33,10 +33,6 @@
|
|||||||
/// change in your local copy of APM_Config.h.
|
/// change in your local copy of APM_Config.h.
|
||||||
///
|
///
|
||||||
|
|
||||||
// Just so that it's completely clear...
|
|
||||||
#define ENABLED 1
|
|
||||||
#define DISABLED 0
|
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
// sensor types
|
// sensor types
|
||||||
|
|
||||||
|
@ -7,6 +7,14 @@
|
|||||||
#define TRUE 1
|
#define TRUE 1
|
||||||
#define FALSE 0
|
#define FALSE 0
|
||||||
|
|
||||||
|
// Just so that it's completely clear...
|
||||||
|
#define ENABLED 1
|
||||||
|
#define DISABLED 0
|
||||||
|
|
||||||
|
// this avoids a very common config error
|
||||||
|
#define ENABLE ENABLED
|
||||||
|
#define DISABLE DISABLED
|
||||||
|
|
||||||
#define DEBUG 0
|
#define DEBUG 0
|
||||||
#define SERVO_MAX 4500 // This value represents 45 degrees and is just an arbitrary representation of servo max travel.
|
#define SERVO_MAX 4500 // This value represents 45 degrees and is just an arbitrary representation of servo max travel.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user