net: openthread: Fix u16_t usage
PR #25936 introduced u16_t type usage and was merged after the type transition in Zephyr. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This commit is contained in:
parent
9ee56e7195
commit
7f9b85e8c3
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ int pkt_list_add(struct openthread_context *context, struct net_pkt *pkt)
|
||||||
|
|
||||||
void pkt_list_remove_first(struct openthread_context *context)
|
void pkt_list_remove_first(struct openthread_context *context)
|
||||||
{
|
{
|
||||||
u16_t idx = context->pkt_list_in_idx;
|
uint16_t idx = context->pkt_list_in_idx;
|
||||||
|
|
||||||
if (idx == 0U) {
|
if (idx == 0U) {
|
||||||
idx = CONFIG_OPENTHREAD_PKT_LIST_SIZE - 1;
|
idx = CONFIG_OPENTHREAD_PKT_LIST_SIZE - 1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue