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

users get this wrong far too often!
This commit is contained in:
Andrew Tridgell 2012-03-07 18:40:04 +11:00
parent 801a442ffb
commit 9a06d35772
2 changed files with 7 additions and 0 deletions

View File

@ -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
// ------------

View File

@ -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