Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
JIRA ID: ODUHIGH-329 : Msg-1 Code changes
[o-du/l2.git]
/
src
/
codec_utils
/
common
/
odu_common_codec.c
diff --git
a/src/codec_utils/common/odu_common_codec.c
b/src/codec_utils/common/odu_common_codec.c
index
9439554
..
cb302f4
100644
(file)
--- a/
src/codec_utils/common/odu_common_codec.c
+++ b/
src/codec_utils/common/odu_common_codec.c
@@
-56,10
+56,7
@@
uint8_t fillBitString(BIT_STRING_t *id, uint8_t unusedBits, uint8_t byteSize, ui
return RFAILED;
}
- for (tmp = 0 ; tmp < (byteSize-1); tmp++)
- {
- id->buf[tmp] = tmp;
- }
+ memset(id->buf, 0, byteSize-1);
id->buf[byteSize-1] = val;
id->bits_unused = unusedBits;
return ROK;