mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-06-23 22:04:20 -04:00
Improved data carrier detection
This commit is contained in:
parent
01c629a6fd
commit
b7ffba0e92
6 changed files with 35 additions and 7 deletions
|
@ -80,8 +80,7 @@ void kiss_csma(AX25Ctx *ctx, uint8_t *buf, size_t len) {
|
|||
}
|
||||
|
||||
if (FLOWCONTROL) {
|
||||
while (channel->sending_data) { /* Wait */ }
|
||||
|
||||
while (!ctx->ready_for_data) { /* Wait */ }
|
||||
fputc(FEND, &serial->uart0);
|
||||
fputc(CMD_READY, &serial->uart0);
|
||||
fputc(0x01, &serial->uart0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue