FreeCalypso > hg > freecalypso-tools
comparison rvinterf/etmsync/l1tmcmd.c @ 275:81da9717babe
fc-tmsync: missed newline at the end of rfpr output
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 17 Nov 2017 00:03:21 +0000 |
parents | 18a8fb3d845b |
children | 94234e9c843b |
comparison
equal
deleted
inserted
replaced
274:f22874b351b7 | 275:81da9717babe |
---|---|
139 return(ERROR_USAGE); | 139 return(ERROR_USAGE); |
140 rc = do_rfpr(index, &val); | 140 rc = do_rfpr(index, &val); |
141 if (rc) | 141 if (rc) |
142 return(rc); | 142 return(rc); |
143 if (val >= 0x8000) | 143 if (val >= 0x8000) |
144 printf("read value: 0x%04X (%u or %d)", val, val, | 144 printf("read value: 0x%04X (%u or %d)\n", val, val, |
145 (int)val - 65536); | 145 (int)val - 65536); |
146 else | 146 else |
147 printf("read value: 0x%04X (%u)", val, val); | 147 printf("read value: 0x%04X (%u)\n", val, val); |
148 return(0); | 148 return(0); |
149 } | 149 } |
150 | 150 |
151 static struct kwtab rf_table_arg[] = { | 151 static struct kwtab rf_table_arg[] = { |
152 {"rx-agc-table", RX_AGC_TABLE}, | 152 {"rx-agc-table", RX_AGC_TABLE}, |