645beff897
Right now "lp5562_led_blink" unconditionally find and assign a engine that is not executing at the moment. This is an issue, if 3 "led" are already using an engine. That is a call to "lp5562_led_blink" could terminate with error, even if the "led" is already using an engine. This commit fixes this issue by adding a check to see if engine is linked and reuse it, otherwise assign a free engine. Signed-off-by: Anuj Pathak <anuj@croxel.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.gpio | ||
Kconfig.ht16k33 | ||
Kconfig.is31fl3194 | ||
Kconfig.is31fl3216a | ||
Kconfig.is31fl3733 | ||
Kconfig.lp50xx | ||
Kconfig.lp3943 | ||
Kconfig.lp5562 | ||
Kconfig.lp5569 | ||
Kconfig.ncp5623 | ||
Kconfig.npm1300 | ||
Kconfig.pca9633 | ||
Kconfig.pwm | ||
Kconfig.tlc59108 | ||
Kconfig.xec | ||
ht16k33.c | ||
is31fl3194.c | ||
is31fl3216a.c | ||
is31fl3733.c | ||
led_context.h | ||
led_gpio.c | ||
led_handlers.c | ||
led_mchp_xec.c | ||
led_npm1300.c | ||
led_pwm.c | ||
led_shell.c | ||
lp50xx.c | ||
lp3943.c | ||
lp5562.c | ||
lp5569.c | ||
ncp5623.c | ||
pca9633.c | ||
tlc59108.c |