Browse Source

Plane: disable external leds

mission-4.1.18
Randy Mackay 11 years ago
parent
commit
b6462c23af
  1. 4
      ArduPlane/ArduPlane.pde

4
ArduPlane/ArduPlane.pde

@ -132,7 +132,7 @@ static RC_Channel *channel_pitch;
static RC_Channel *channel_throttle; static RC_Channel *channel_throttle;
static RC_Channel *channel_rudder; static RC_Channel *channel_rudder;
// notification object for LEDs, buzzers etc // notification object for LEDs, buzzers etc (parameter set to false disables external leds)
static AP_Notify notify; static AP_Notify notify;
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
@ -759,7 +759,7 @@ void setup() {
AP_Notify::flags.pre_arm_check = true; AP_Notify::flags.pre_arm_check = true;
AP_Notify::flags.failsafe_battery = false; AP_Notify::flags.failsafe_battery = false;
notify.init(); notify.init(false);
battery.init(); battery.init();

Loading…
Cancel
Save