samples/drivers/led_apa102c_bitbang: Wrap sleep time value in K_MSEC()

Align the parameter passed to `k_sleep` with the recent changes done
to timeout API.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This commit is contained in:
Andrzej Głąbek 2020-04-02 15:16:36 +00:00 committed by Kumar Gala
commit f57ec57ce5

View file

@ -23,7 +23,7 @@
#include <device.h>
#include <drivers/gpio.h>
/* in millisecond */
#define SLEEPTIME 250
#define SLEEPTIME K_MSEC(250)
#define GPIO_DATA_PIN 16
#define GPIO_CLK_PIN 19