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:
parent
8214f26720
commit
f57ec57ce5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue