diff options
| author | Wini-Buh <[email protected]> | 2021-06-22 23:21:01 +0200 |
|---|---|---|
| committer | Wini-Buh <[email protected]> | 2021-06-22 23:21:01 +0200 |
| commit | c5f6b57755052284e2fec8aa79b93272e757b297 (patch) | |
| tree | cec76cd5772eccd703a633d1ff2d71fc64a5f1dd /src/common | |
| parent | 60d8ecbfe617b0f398f90c3fede9a9488f4da407 (diff) | |
| parent | 5a4fc1151a7e62a291a90836165942737a1a2d6f (diff) | |
Merge remote-tracking branch 'upstream/master' into CCRX_Port
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_fifo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tusb_fifo.h b/src/common/tusb_fifo.h index cf299269d..de2ae163d 100644 --- a/src/common/tusb_fifo.h +++ b/src/common/tusb_fifo.h @@ -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) \ |
