Use K_MSEC macro in k_sleep calls
This is required by Zephyr 2.3, otherwise getting compile error.
This commit is contained in:
+1
-1
@@ -81,7 +81,7 @@ void leds_update_thread()
|
||||
led_count++;
|
||||
flicker_count++;
|
||||
|
||||
k_sleep(SLEEP_TIME_MS);
|
||||
k_sleep(K_MSEC(SLEEP_TIME_MS));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user