mirror of https://github.com/ArduPilot/ardupilot
AP_Notify: fixed RGBLED on PX4 with latest PX4Firmware
now needs a RGBLED_MODE_ON
This commit is contained in:
parent
9aea577eb1
commit
f59d0099a4
|
@ -40,6 +40,7 @@ bool ToshibaLED_PX4::hw_init()
|
|||
hal.console->printf("Unable to open " RGBLED_DEVICE_PATH);
|
||||
return false;
|
||||
}
|
||||
ioctl(_rgbled_fd, RGBLED_SET_MODE, (unsigned long)RGBLED_MODE_ON);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue