samples: fade_led: add direction per LED
Fixed a bug where that was caused because the different LEDs use the
same 'dir' variable and that caused them to eventually lose
synchronization.
Signed-off-by:
Yishai Jaffe <yishai1999@gmail.com>
Loading
Please sign in to comment