mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
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);
|
hal.console->printf("Unable to open " RGBLED_DEVICE_PATH);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
ioctl(_rgbled_fd, RGBLED_SET_MODE, (unsigned long)RGBLED_MODE_ON);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user