mynewt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject [2/2] incubator-mynewt-core git commit: newtmgr; fix build breakage.
Date Mon, 09 May 2016 15:49:25 GMT
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 <marko@runtime.io>
Authored: Mon May 9 08:49:00 2016 -0700
Committer: Marko Kiiskila <marko@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;
         }
     }


Mime
View raw message