Peter Barker
501d0d8759
AP_Notify: stop using linux board subtype in Notify LED setup
...
... instead have the board definitions define things like we do for ChibiOS
2024-07-16 10:11:40 +10:00
Peter Barker
db590f65f1
AP_Notify: tidy includes
2022-05-03 09:14:58 +10:00
Michael du Breuil
c0017abb63
AP_Notify: Remove indirection on RGBLed of init()->hw_init()
...
Saves a bit of flash, and just makes the code a bit more obvious
2021-03-30 11:18:45 +11:00
Randy Mackay
0e20c8040c
AP_Notify: rgbled methods protected and add override
...
no functional change
2017-01-27 15:24:09 +09:00
Lucas De Marchi
fd0e4164b9
AP_Notify: DiscoLED: keep includes sorted
2017-01-19 08:59:00 -08:00
Mathieu OTHACEHE
701d91f20c
AP_Notify: Disco: use new led sysfs backend or, if not available, legacy
...
pwm backend to drive leds.
In new Disco releases, the led sysfs api will replace the pwm sysfs
api to drive the tricolor led.
Keep pwm sysfs api for compatibility reasons.
2017-01-19 08:24:48 -08:00
Mathieu OTHACEHE
37237a5735
Disco_LED: Do not alloc PWM_Sysfs_Bebop objects
...
Using PWM_Sysfs_Base::init method, we don't need anymore to alloc memory
for PWM_Sysfs_Bebop objects.
2016-11-07 14:59:31 -02:00
Mathieu OTHACEHE
5e42800b5e
Disco: add LED support
...
Use RGBLed generic implementation to support Disco LED.
2016-10-26 11:56:11 -03:00