comparison rvinterf/tmsh/rftablewr.c @ 145:04b5aaee06c0

rftablewr.c: bug in the il2agc table output
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 27 Feb 2017 05:22:25 +0000
parents d0e482314513
children 1782fbfa4860
comparison
equal deleted inserted replaced
144:d0e482314513 145:04b5aaee06c0
91 { 91 {
92 int idx; 92 int idx;
93 93
94 fputs("rf_table il2agc\n\n", outf); 94 fputs("rf_table il2agc\n\n", outf);
95 for (idx = 0; idx < 121; idx++) 95 for (idx = 0; idx < 121; idx++)
96 fprintf(outf, "%3u\t# IL=%d\n", get_u16(bin + idx), -idx); 96 fprintf(outf, "%3u\t# IL=%d\n", bin[idx], -idx);
97 } 97 }
98 98
99 void 99 void
100 write_tx_levels_table(bin, outf) 100 write_tx_levels_table(bin, outf)
101 u_char *bin; 101 u_char *bin;