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/11/07 22:23:12 UTC

[4/4] incubator-mynewt-core git commit: slinky_oic; queue the start event for oicmgr.

slinky_oic; queue the start event for oicmgr.


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

Branch: refs/heads/develop
Commit: fcc53ee4476c0c854281a0207e1136bb77c562be
Parents: 1b1a1e7
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Mon Nov 7 14:22:18 2016 -0800
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Mon Nov 7 14:22:18 2016 -0800

----------------------------------------------------------------------
 apps/slinky_oic/src/main.c | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/fcc53ee4/apps/slinky_oic/src/main.c
----------------------------------------------------------------------
diff --git a/apps/slinky_oic/src/main.c b/apps/slinky_oic/src/main.c
index 3f31f04..afadd33 100755
--- a/apps/slinky_oic/src/main.c
+++ b/apps/slinky_oic/src/main.c
@@ -33,6 +33,7 @@
 #endif
 #include <bootutil/image.h>
 #include <imgmgr/imgmgr.h>
+#include <mgmt/mgmt.h>
 #include <assert.h>
 #include <string.h>
 #include <json/json.h>
@@ -256,6 +257,7 @@ init_tasks(void)
      */
     os_eventq_init(&slinky_oic_evq);
     os_eventq_dflt_set(&slinky_oic_evq);
+    mgmt_evq_set(&slinky_oic_evq);
 }
 
 /**