FreeCalypso > hg > freecalypso-tools
comparison rvinterf/tmsh/rftablewr.c @ 144:d0e482314513
rftablewr.c: better line break structure in the tx-calchan table
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 27 Feb 2017 03:50:10 +0000 |
parents | 6b01d4ef85c3 |
children | 04b5aaee06c0 |
comparison
equal
deleted
inserted
replaced
143:daba926cc38a | 144:d0e482314513 |
---|---|
120 FILE *outf; | 120 FILE *outf; |
121 { | 121 { |
122 int i, j; | 122 int i, j; |
123 u_char *p = bin; | 123 u_char *p = bin; |
124 | 124 |
125 fputs("rf_table tx-calchan\n\n", outf); | 125 fputs("rf_table tx-calchan\n", outf); |
126 for (i = 0; i < 4; i++) { | 126 for (i = 0; i < 4; i++) { |
127 fprintf(outf, "# Channel calibration table %d:\n\n", i); | 127 fprintf(outf, "\n# Channel calibration table %d:\n\n", i); |
128 for (j = 0; j < 8; j++) { | 128 for (j = 0; j < 8; j++) { |
129 fprintf(outf, "%5u %6d\n", get_u16(p), get_s16(p + 2)); | 129 fprintf(outf, "%5u %6d\n", get_u16(p), get_s16(p + 2)); |
130 p += 4; | 130 p += 4; |
131 } | 131 } |
132 } | 132 } |