Skip to content

Commit 2a63188

Browse files
authored
Merge pull request #155 from kasjer/kasjer/mynewt-fix-build
os_mgmt/mynewt: Fix build when LOG_SOFT_RESET is off
2 parents 5497c36 + e181025 commit 2a63188

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/os_mgmt/port/mynewt/src/mynewt_os_mgmt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222
#include "os/os.h"
2323
#if MYNEWT_VAL(LOG_SOFT_RESET)
2424
#include "reboot/log_reboot.h"
25+
#include "img_mgmt/img_mgmt.h"
2526
#endif
2627
#include "os_mgmt/os_mgmt_impl.h"
2728
#include "os_mgmt/os_mgmt.h"
2829
#include "mgmt/mgmt.h"
29-
#include "img_mgmt/img_mgmt.h"
3030

3131
static struct os_callout mynewt_os_mgmt_reset_callout;
3232

0 commit comments

Comments
 (0)