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:
Jamie McCrae 2022-03-16 13:30:39 +00:00 committed by Christopher Friedt
parent f133449cf5
commit ad4e9934de
1 changed files with 0 additions and 3 deletions

View File

@ -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