Fixed flow control ready indication

This commit is contained in:
Mark Qvist 2018-07-04 23:24:07 +02:00
parent d3aa2ef6d1
commit a5243ed4ac
3 changed files with 5 additions and 2 deletions

View file

@ -220,6 +220,9 @@ void enqueuePacket(size_t length) {
qbuf[insert_addr+i] = sbuf[i];
}
queue_head = new_queue_head;
if (!queueFull()) {
kiss_indicate_ready();
}
} else {
kiss_indicate_error(ERROR_QUEUE_FULL);
}