Merge pull request #536 from kasjer/kasjer/fix-osal-queue-definition

osal_none: Fix queue definition
This commit is contained in:
Ha Thach 2020-10-13 23:04:33 +07:00 committed by GitHub
commit 41083cb67a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -139,6 +139,8 @@ typedef osal_queue_def_t* osal_queue_t;
.depth = _depth, \
.item_size = sizeof(_type), \
.overwritable = false, \
.max_pointer_idx = (2*(_depth))-1, \
.non_used_index_space = 0xFFFF-((2*(_depth))-1),\
}\
}