ArduCopter - LEDS - added new COPTER_LEDS definition

Code by Robert Lefebvre
This commit is contained in:
rmackay9 2012-04-12 22:51:17 +09:00
parent 0a3bc9a66a
commit 84b07b5e6a
1 changed files with 4 additions and 5 deletions

View File

@ -140,6 +140,10 @@
# define CURRENT_PIN_1 2 # define CURRENT_PIN_1 2
#endif #endif
#ifndef COPTER_LEDS
#define COPTER_LEDS ENABLED
#endif
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
// Pushbutton & Relay // Pushbutton & Relay
// //
@ -906,11 +910,6 @@
# define CUT_MOTORS 1 // do we cut the motors with no throttle? # define CUT_MOTORS 1 // do we cut the motors with no throttle?
#endif #endif
#ifndef MOTOR_LEDS
# define MOTOR_LEDS 1 // 0 = off, 1 = on
#endif
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
// RC override // RC override
// //