You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2016/05/09 15:49:25 UTC

[2/2] incubator-mynewt-core git commit: newtmgr; fix build breakage.

newtmgr; fix build breakage.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/4769b185
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/4769b185
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/4769b185

Branch: refs/heads/develop
Commit: 4769b185f8f916e4becd97e623c7a953ae85a6ab
Parents: f097ec8
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Mon May 9 08:49:00 2016 -0700
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Mon May 9 08:49:00 2016 -0700

----------------------------------------------------------------------
 libs/newtmgr/src/newtmgr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/4769b185/libs/newtmgr/src/newtmgr.c
----------------------------------------------------------------------
diff --git a/libs/newtmgr/src/newtmgr.c b/libs/newtmgr/src/newtmgr.c
index 2e27f53..624ab58 100644
--- a/libs/newtmgr/src/newtmgr.c
+++ b/libs/newtmgr/src/newtmgr.c
@@ -520,7 +520,7 @@ nmgr_task(void *arg)
                 break;
 	    case OS_EVENT_T_TIMER:
 		ocf = (struct os_callout_func *)ev;
-		ocf->cf_func(ocf->cf_arg);
+		ocf->cf_func(CF_ARG(ocf));
 		break;
         }
     }