Horus simulator should now be OK
This commit is contained in:
@@ -47,6 +47,11 @@ class Fifo
|
||||
{
|
||||
}
|
||||
|
||||
void clear()
|
||||
{
|
||||
widx = ridx = 0;
|
||||
}
|
||||
|
||||
void push(uint8_t byte) {
|
||||
uint32_t next = (widx+1) & (N-1);
|
||||
if (next != ridx) {
|
||||
|
||||
Reference in New Issue
Block a user