diff 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
line wrap: on
line diff
--- a/autocal/l1tmops.c	Sat May 27 23:23:35 2017 +0000
+++ b/autocal/l1tmops.c	Sat May 27 23:35:06 2017 +0000
@@ -210,8 +210,8 @@
 			rvi_msg[3]);
 		exit(ERROR_TARGET);
 	}
-	if (rvi_msg_len != size + 6) {
-		fprintf(stderr, "DUT error: rftr response wrong length\n");
+	if (rvi_msg_len < size + 6) {
+		fprintf(stderr, "DUT error: rftr response too short\n");
 		exit(ERROR_TARGET);
 	}
 	if (rvi_msg[4] != index) {