comparison autocal/txcalconf.c @ 84:a2d4cab0a592

fc-rfcal-txband: works after a couple of bugfixes
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 15 Jul 2017 23:57:56 +0000
parents 1d3dd589a857
children 4c3f4231a021
comparison
equal deleted inserted replaced
83:45ef4a06edfc 84:a2d4cab0a592
88 wrong_num: fprintf(stderr, 88 wrong_num: fprintf(stderr,
89 "%s line %d: exactly %u target numbers expected\n", 89 "%s line %d: exactly %u target numbers expected\n",
90 filename_for_errs, lineno, expect_num); 90 filename_for_errs, lineno, expect_num);
91 exit(ERROR_USAGE); 91 exit(ERROR_USAGE);
92 } 92 }
93 tx_levels[txcal_band->start_plnum + n].target = atof(cp); 93 tx_levels[n].target = atof(cp);
94 while (isdigit(*cp) || *cp == '.') 94 while (isdigit(*cp) || *cp == '.')
95 cp++; 95 cp++;
96 } 96 }
97 if (n != expect_num) 97 if (n != expect_num)
98 goto wrong_num; 98 goto wrong_num;