mirror of
https://github.com/markqvist/RNode_Firmware.git
synced 2025-07-30 10:08:34 -04:00
Fixed flow control ready indication
This commit is contained in:
parent
d3aa2ef6d1
commit
a5243ed4ac
3 changed files with 5 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue