Skip to content

Commit

Permalink
fix again LMFAOO
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelMohn committed Dec 2, 2023
1 parent 50a821f commit baa1d45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Apps/Inc/fifo.h
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ POPBACK (FIFO_TYPE_NAME *fifo, FIFO_TYPE *elem) {
static int __attribute__((unused))
SPACE (FIFO_TYPE_NAME *fifo) {
if(!IS_EMPTY(fifo)) {
((fifo->get - fifo->put) + FIFO_SIZE) % FIFO_SIZE;
return ((fifo->get - fifo->put) + FIFO_SIZE) % FIFO_SIZE;
}

return FIFO_SIZE;
Expand Down

0 comments on commit baa1d45

Please sign in to comment.