Browse Source

make 'ENABLE' and 'ENABLED' mean the same things

users get this wrong far too often!
master
Andrew Tridgell 13 years ago
parent
commit
9a06d35772
  1. 3
      ArduCopter/defines.h
  2. 4
      ArduPlane/config.h

3
ArduCopter/defines.h

@ -7,6 +7,9 @@ @@ -7,6 +7,9 @@
#define ENABLED 1
#define DISABLED 0
// this avoids a very common config error
#define ENABLE ENABLED
#define DISABLE DISABLED
// Flight modes
// ------------

4
ArduPlane/config.h

@ -36,6 +36,10 @@ @@ -36,6 +36,10 @@
#define ENABLED 1
#define DISABLED 0
// this avoids a very common config error
#define ENABLE ENABLED
#define DISABLE DISABLED
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
// HARDWARE CONFIGURATION AND CONNECTIONS

Loading…
Cancel
Save