mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-05-16 05:12:29 -04:00
300 baud demodulator implemented
This commit is contained in:
parent
7f5fe36cc2
commit
00dcf5a300
2 changed files with 29 additions and 13 deletions
|
@ -28,10 +28,10 @@ void kiss_init(AX25Ctx *ax25, Afsk *afsk, Serial *ser) {
|
|||
}
|
||||
|
||||
// TODO: Remove debug functions
|
||||
// size_t decodes = 0;
|
||||
//size_t decodes = 0;
|
||||
void kiss_messageCallback(AX25Ctx *ctx) {
|
||||
// decodes++;
|
||||
// printf("%d\r\n", decodes);
|
||||
//decodes++;
|
||||
//printf("%d\r\n", decodes);
|
||||
|
||||
fputc(FEND, &serial->uart0);
|
||||
fputc(0x00, &serial->uart0);
|
||||
|
@ -48,6 +48,7 @@ void kiss_messageCallback(AX25Ctx *ctx) {
|
|||
}
|
||||
}
|
||||
fputc(FEND, &serial->uart0);
|
||||
|
||||
}
|
||||
|
||||
void kiss_csma(AX25Ctx *ctx, uint8_t *buf, size_t len) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue