Skip to content

Commit 7857599

Browse files
nordicjmkartben
authored andcommitted
tests: mgmt: mcumgr: os_mgmt_info: Fix return type
Fixes returning a define from a different enum which throws an error with clang Signed-off-by: Jamie McCrae <[email protected]>
1 parent 410e929 commit 7857599

File tree

1 file changed

+1
-1
lines changed
  • tests/subsys/mgmt/mcumgr/os_mgmt_info/src

1 file changed

+1
-1
lines changed

tests/subsys/mgmt/mcumgr/os_mgmt_info/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ static enum mgmt_cb_return os_mgmt_info_custom_cmd_callback(uint32_t event,
212212
}
213213
}
214214

215-
return MGMT_ERR_EOK;
215+
return MGMT_CB_OK;
216216
}
217217

218218
static struct mgmt_callback custom_cmd_check_callback = {

0 commit comments

Comments
 (0)