FreeCalypso > hg > fc-pcm-if
comparison sw/mcsi-rxtx/mainloop.c @ 11:e93a11f44e6f
fc-mcsi-rxtx: implement basic Tx
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Mon, 28 Oct 2024 06:34:42 +0000 |
| parents | 62579cfff4fc |
| children | 315428573a25 |
comparison
equal
deleted
inserted
replaced
| 10:c1d9b5d128f5 | 11:e93a11f44e6f |
|---|---|
| 69 } | 69 } |
| 70 off += cc; | 70 off += cc; |
| 71 if (off >= sizeof(buf)) { | 71 if (off >= sizeof(buf)) { |
| 72 process_rx_block(buf); | 72 process_rx_block(buf); |
| 73 off = 0; | 73 off = 0; |
| 74 transmit_20ms_block(); | |
| 74 } | 75 } |
| 75 } | 76 } |
| 76 fflush(stdout); | 77 fflush(stdout); |
| 77 } | 78 } |
| 78 } | 79 } |
