AP_Notify: fixed RGBLED on PX4 with latest PX4Firmware

now needs a RGBLED_MODE_ON
This commit is contained in:
Andrew Tridgell 2013-10-08 14:55:10 +11:00
parent 9aea577eb1
commit f59d0099a4
1 changed files with 1 additions and 0 deletions

View File

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