You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2020/04/10 16:00:57 UTC

[GitHub] [mynewt-mcumgr] de-nordic commented on a change in pull request #77: zephyr: Convert k_timer calls to new API

de-nordic commented on a change in pull request #77: zephyr: Convert k_timer calls to new API
URL: https://github.com/apache/mynewt-mcumgr/pull/77#discussion_r406823020
 
 

 ##########
 File path: cmd/os_mgmt/port/zephyr/src/zephyr_os_mgmt.c
 ##########
 @@ -91,6 +91,6 @@ zephyr_os_mgmt_reset_cb(struct k_timer *timer)
 int
 os_mgmt_impl_reset(unsigned int delay_ms)
 {
-    k_timer_start(&zephyr_os_mgmt_reset_timer, K_MSEC(delay_ms), 0);
+    k_timer_start(&zephyr_os_mgmt_reset_timer, K_MSEC(delay_ms), K_MSEC(0));
 
 Review comment:
   ok, done.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services