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
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