Merge pull request #899 from Product-Creation-Studio/ned-pcs/fix-initializer

Changed order of struct initializer to avoid compiler error
This commit is contained in:
Ha Thach 2021-06-19 14:32:42 +07:00 committed by GitHub
commit 03643d551d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -86,8 +86,8 @@ typedef struct
.depth = _depth, \
.item_size = sizeof(_type), \
.overwritable = _overwritable, \
.max_pointer_idx = 2*(_depth)-1, \
.non_used_index_space = UINT16_MAX - (2*(_depth)-1), \
.max_pointer_idx = 2*(_depth)-1, \
}
#define TU_FIFO_DEF(_name, _depth, _type, _overwritable) \