summaryrefslogtreecommitdiff
path: root/src/common/tusb_fifo.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-04-07 13:27:28 +0700
committerhathach <[email protected]>2021-04-07 13:27:28 +0700
commit893919a848926f453f85fc131d553935554af23b (patch)
tree484c2f9d7aeefc83c258216c1919001d3773aca3 /src/common/tusb_fifo.h
parent2468f9e26d63313e74d2673437b605af3ea45c74 (diff)
remove tu_fifo_backward_write/read_pointer API
since it is illegal from fifo perspective
Diffstat (limited to 'src/common/tusb_fifo.h')
-rw-r--r--src/common/tusb_fifo.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/common/tusb_fifo.h b/src/common/tusb_fifo.h
index 93ed6095d..b2d0b5be9 100644
--- a/src/common/tusb_fifo.h
+++ b/src/common/tusb_fifo.h
@@ -128,9 +128,7 @@ void tu_fifo_correct_read_pointer (tu_fifo_t* f);
// Pointer modifications intended to be used in combinations with DMAs.
// USE WITH CARE - NO SAFTY CHECKS CONDUCTED HERE! NOT MUTEX PROTECTED!
void tu_fifo_advance_write_pointer (tu_fifo_t *f, uint16_t n);
-void tu_fifo_backward_write_pointer (tu_fifo_t *f, uint16_t n);
void tu_fifo_advance_read_pointer (tu_fifo_t *f, uint16_t n);
-void tu_fifo_backward_read_pointer (tu_fifo_t *f, uint16_t n);
// If you want to read/write from/to the FIFO by use of a DMA, you may need to conduct two copies to handle a possible wrapping part
// This functions deliver a pointer to start reading/writing from/to and a valid linear length along which no wrap occurs.