Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[submodule "utils"]
path = utils
url = https://github.com/goToMain/c-utils.git
url = https://github.com/rustylocker/c-utils.git
branch = fix-zephyr-and-gcc-build-issues
2 changes: 2 additions & 0 deletions src/osdp_cp.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ static inline void assert_buf_len(int need, int have)
{
__ASSERT(need < have, "OOM at build command: need:%d have:%d",
need, have);
(void)need;
(void)have;
}

static int cp_build_command(struct osdp_pd *pd, uint8_t *buf, int max_len)
Expand Down
2 changes: 2 additions & 0 deletions src/osdp_pd.c
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,8 @@ static inline void assert_buf_len(int need, int have)
{
__ASSERT(need < have, "OOM at build command: need:%d have:%d",
need, have);
(void)need;
(void)have;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion utils