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:24 UTC

[1/2] incubator-mynewt-core git commit: Initialize ev to avoid compiler warning

Repository: incubator-mynewt-core
Updated Branches:
  refs/heads/develop 56c57dac1 -> 4769b185f


Initialize ev to avoid compiler warning


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/f097ec8d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/f097ec8d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/f097ec8d

Branch: refs/heads/develop
Commit: f097ec8daae8c085d2b83dec2a0ed1bc00101258
Parents: 56c57da
Author: spoonofpower <sp...@gmail.com>
Authored: Fri May 6 10:27:38 2016 -0700
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Mon May 9 08:47:17 2016 -0700

----------------------------------------------------------------------
 libs/os/src/os_eventq.c | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/f097ec8d/libs/os/src/os_eventq.c
----------------------------------------------------------------------
diff --git a/libs/os/src/os_eventq.c b/libs/os/src/os_eventq.c
index 47ea46a..b3ff26f 100644
--- a/libs/os/src/os_eventq.c
+++ b/libs/os/src/os_eventq.c
@@ -137,6 +137,8 @@ os_eventq_poll(struct os_eventq **evq, int nevqs, os_time_t timo)
     int i, j;
     os_sr_t sr;
 
+    ev = NULL;
+
     OS_ENTER_CRITICAL(sr);
     cur_t = os_sched_get_current_task();
 


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

Posted by ma...@apache.org.
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;
         }
     }