comparison autocal/l1tmops.c @ 60:81e8f7e99d89

fc-rfcal-rxband: upload of GMagic to DUT implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 27 May 2017 23:35:06 +0000
parents c87067884da7
children
comparison
equal deleted inserted replaced
59:c87067884da7 60:81e8f7e99d89
208 if (rvi_msg[3]) { 208 if (rvi_msg[3]) {
209 fprintf(stderr, "DUT error %u in response to rftr\n", 209 fprintf(stderr, "DUT error %u in response to rftr\n",
210 rvi_msg[3]); 210 rvi_msg[3]);
211 exit(ERROR_TARGET); 211 exit(ERROR_TARGET);
212 } 212 }
213 if (rvi_msg_len != size + 6) { 213 if (rvi_msg_len < size + 6) {
214 fprintf(stderr, "DUT error: rftr response wrong length\n"); 214 fprintf(stderr, "DUT error: rftr response too short\n");
215 exit(ERROR_TARGET); 215 exit(ERROR_TARGET);
216 } 216 }
217 if (rvi_msg[4] != index) { 217 if (rvi_msg[4] != index) {
218 fprintf(stderr, "DUT error: rftr response wrong index\n"); 218 fprintf(stderr, "DUT error: rftr response wrong index\n");
219 exit(ERROR_TARGET); 219 exit(ERROR_TARGET);