mirror of https://github.com/ArduPilot/ardupilot
Rover: disable external leds
This commit is contained in:
parent
b6462c23af
commit
0b00f4d065
|
@ -356,7 +356,7 @@ static struct {
|
||||||
uint8_t triggered;
|
uint8_t triggered;
|
||||||
} failsafe;
|
} failsafe;
|
||||||
|
|
||||||
// notify object
|
// notification object for LEDs, buzzers etc (parameter set to false disables external leds)
|
||||||
static AP_Notify notify;
|
static AP_Notify notify;
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -592,7 +592,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…
Reference in New Issue