mirror of
https://github.com/steve-m/hsdaoh-rp2350.git
synced 2025-12-09 23:34:39 +01:00
lib: correctly initialize FIFO tail
Otherwise we are doing a full wrap-around of garbage data before we catch up with the head.
This commit is contained in:
parent
560ce9a6a1
commit
d9e7813ccf
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ uint16_t idle_line_buf[MODE_H_ACTIVE_PIXELS];
|
|||
uint32_t info_p[64];
|
||||
uint32_t info_len;
|
||||
|
||||
int fifo_tail = 0;
|
||||
int fifo_tail = RBUF_SLICES-1;
|
||||
int fifo_head = 0;
|
||||
|
||||
static uint32_t vblank_line_vsync_off[] = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue