mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-06-23 22:04:20 -04:00
Transmit queue and buffers
This commit is contained in:
parent
8e836c629c
commit
532e440a3d
5 changed files with 22 additions and 19 deletions
|
@ -162,14 +162,6 @@ void kiss_flushQueue(void) {
|
|||
}
|
||||
}
|
||||
|
||||
uint8_t kiss_queuedPackets(void) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool kiss_queueIsFull(void) {
|
||||
return false;
|
||||
}
|
||||
|
||||
void kiss_serialCallback(uint8_t sbyte) {
|
||||
if (IN_FRAME && sbyte == FEND && command == CMD_DATA) {
|
||||
IN_FRAME = false;
|
||||
|
@ -184,7 +176,7 @@ void kiss_serialCallback(uint8_t sbyte) {
|
|||
fifo16_push_locked(&packet_lengths, l);
|
||||
|
||||
current_packet_start = queue_cursor;
|
||||
//printf("Queue height %d\r\n", queue_height);
|
||||
printf("Queue height %d\r\n", queue_height);
|
||||
}
|
||||
|
||||
} else if (sbyte == FEND) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue