FreeCalypso > hg > fc-rfcal-tools
diff autocal/l1meas.c @ 49:1a0dbc746d57
autocal: Rx cal main engine implemented
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 27 May 2017 07:23:20 +0000 |
parents | 201f27bd8dca |
children |
line wrap: on
line diff
--- a/autocal/l1meas.c Sat May 27 07:03:08 2017 +0000 +++ b/autocal/l1meas.c Sat May 27 07:23:20 2017 +0000 @@ -174,3 +174,15 @@ } return(0); } + +collect_rfe_completion() +{ + collect_extra_pkt_from_target(); + l1tm_resp_sanity_check(RF_ENABLE); + if (rvi_msg[3] != 1) { + fprintf(stderr, "DUT error %u in rfe completion message\n", + rvi_msg[3]); + exit(ERROR_TARGET); + } + return(0); +}