comparison sw/mcsi-rx/robe_out.c @ 3:de85c3680d7e

sw: fc-mcsi-rx program put together
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 11 Oct 2024 23:54:39 +0000
parents
children
comparison
equal deleted inserted replaced
2:a4918a161d2e 3:de85c3680d7e
1 /*
2 * The function in this module is responsible for writing "robe" output.
3 */
4
5 #include <sys/types.h>
6 #include <stdio.h>
7
8 extern FILE *out_binfile;
9
10 process_rx_block(buf)
11 u_char *buf;
12 {
13 unsigned n;
14 u_char *sp;
15
16 sp = buf;
17 for (n = 0; n < 160; n++) {
18 putc(sp[1], out_binfile);
19 putc(sp[0], out_binfile);
20 sp += 2;
21 }
22 }