Skip to content

Commit ad4e993

Browse files
Jamie McCraecfriedt
authored andcommitted
samples: subsys: mgmt: smp_svr: Fix dupicate fs mgmt registration
This fixes an issue with the filesystem mcumgr being registered twice in the sample application which resolves an issue with an endless loop if a mcumgr handler is used which is not registered. Signed-off-by: Jamie McCrae <[email protected]>
1 parent f133449 commit ad4e993

File tree

1 file changed

+0
-3
lines changed
  • samples/subsys/mgmt/mcumgr/smp_svr/src

1 file changed

+0
-3
lines changed

samples/subsys/mgmt/mcumgr/smp_svr/src/main.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,6 @@ void main(void)
9090
#ifdef CONFIG_MCUMGR_CMD_SHELL_MGMT
9191
shell_mgmt_register_group();
9292
#endif
93-
#ifdef CONFIG_MCUMGR_CMD_FS_MGMT
94-
fs_mgmt_register_group();
95-
#endif
9693
#ifdef CONFIG_MCUMGR_SMP_BT
9794
start_smp_bluetooth();
9895
#endif

0 commit comments

Comments
 (0)