You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by vi...@apache.org on 2019/11/26 00:16:58 UTC

[mynewt-mcumgr] branch master updated: img_mgmt: Add img_mgmt_dfu_confirmed() callback

This is an automated email from the ASF dual-hosted git repository.

vipulrahane pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-mcumgr.git


The following commit(s) were added to refs/heads/master by this push:
     new ba1ae22  img_mgmt: Add img_mgmt_dfu_confirmed() callback
     new 08be296  Merge pull request #51 from vrahane/img_mgmt_dfu_confirmed_cb
ba1ae22 is described below

commit ba1ae22cce4aac2d830a18b3b4c088d2aad8aeb2
Author: Vipul Rahane <vr...@gmail.com>
AuthorDate: Mon Nov 25 15:58:00 2019 -0800

    img_mgmt: Add img_mgmt_dfu_confirmed() callback
    
    - This was missed out during the transition from newtmgr to
      mcumgr
---
 cmd/img_mgmt/src/img_mgmt_state.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cmd/img_mgmt/src/img_mgmt_state.c b/cmd/img_mgmt/src/img_mgmt_state.c
index 9db0a6a..5998ada 100644
--- a/cmd/img_mgmt/src/img_mgmt_state.c
+++ b/cmd/img_mgmt/src/img_mgmt_state.c
@@ -176,6 +176,7 @@ img_mgmt_state_confirm(void)
         rc = MGMT_ERR_EUNKNOWN;
     }
 
+     img_mgmt_dfu_confirmed();
 err:
     return img_mgmt_impl_log_confirm(rc, NULL);
 }