changeset 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
files rvinterf/tmsh/rftablewr.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rvinterf/tmsh/rftablewr.c	Mon Feb 27 03:50:10 2017 +0000
+++ b/rvinterf/tmsh/rftablewr.c	Mon Feb 27 05:22:25 2017 +0000
@@ -93,7 +93,7 @@
 
 	fputs("rf_table il2agc\n\n", outf);
 	for (idx = 0; idx < 121; idx++)
-		fprintf(outf, "%3u\t# IL=%d\n", get_u16(bin + idx), -idx);
+		fprintf(outf, "%3u\t# IL=%d\n", bin[idx], -idx);
 }
 
 void