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/04/07 05:34:31 UTC

incubator-mynewt-core git commit: After config write via newtmgr, commit the change.

Repository: incubator-mynewt-core
Updated Branches:
  refs/heads/develop ced9c6189 -> a3d4e5ea2


After config write via newtmgr, commit the change.


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

Branch: refs/heads/develop
Commit: a3d4e5ea2fe4b222c4990ae0354023d7bbad4619
Parents: ced9c61
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Wed Apr 6 20:33:34 2016 -0700
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Wed Apr 6 20:34:18 2016 -0700

----------------------------------------------------------------------
 sys/config/src/config_nmgr.c | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/a3d4e5ea/sys/config/src/config_nmgr.c
----------------------------------------------------------------------
diff --git a/sys/config/src/config_nmgr.c b/sys/config/src/config_nmgr.c
index 4cb194f..ae4aa11 100644
--- a/sys/config/src/config_nmgr.c
+++ b/sys/config/src/config_nmgr.c
@@ -94,6 +94,11 @@ conf_nmgr_write(struct nmgr_jbuf *njb)
     if (rc) {
         return OS_EINVAL;
     }
+
+    rc = conf_commit(NULL);
+    if (rc) {
+        return OS_EINVAL;
+    }
     return 0;
 }