This commit is contained in:
Bertrand Songis
2019-02-05 18:56:19 +01:00
parent 64693fc92e
commit f0eacf062e
+2 -4
View File
@@ -60,15 +60,13 @@ class ModuleFifo : public Fifo<uint8_t, 32> {
return false;
}
for (uint32_t i=0; i<len; i++) {
next = nextIndex(next);
for (uint32_t i=0; i<=len; i++) {
frame[i] = fifo[next];
next = nextIndex(next);
}
// TODO CRC CHECK
next = nextIndex(next);
next = nextIndex(next);
ridx = nextIndex(next);
return true;
}