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 <jamie.mccrae@lairdconnect.com>
This commit is contained in:
parent
f133449cf5
commit
ad4e9934de
|
@ -90,9 +90,6 @@ void main(void)
|
|||
#ifdef CONFIG_MCUMGR_CMD_SHELL_MGMT
|
||||
shell_mgmt_register_group();
|
||||
#endif
|
||||
#ifdef CONFIG_MCUMGR_CMD_FS_MGMT
|
||||
fs_mgmt_register_group();
|
||||
#endif
|
||||
#ifdef CONFIG_MCUMGR_SMP_BT
|
||||
start_smp_bluetooth();
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue