Use K_MSEC macro in k_sleep calls

This is required by Zephyr 2.3, otherwise getting compile error.
This commit is contained in:
Martin Jäger
2020-05-11 12:26:41 +02:00
parent 9a5004e81d
commit 1bd8734a2e
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ void leds_update_thread()
led_count++;
flicker_count++;
k_sleep(SLEEP_TIME_MS);
k_sleep(K_MSEC(SLEEP_TIME_MS));
}
}