comparison autocal/vcxomeas.c @ 104:7ad0495991ed

autocal: use the new ERROR_RFFAIL exit code
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 09 Dec 2017 07:01:13 +0000
parents b06532c9642f
children
comparison
equal deleted inserted replaced
103:16aab86384a7 104:7ad0495991ed
27 meas = atof(tsid_response + 1); 27 meas = atof(tsid_response + 1);
28 printf("Measured frequency offset %.2f Hz\n", meas); 28 printf("Measured frequency offset %.2f Hz\n", meas);
29 if (isnan(meas)) { 29 if (isnan(meas)) {
30 printf("Error: got NaN response, aborting\n"); 30 printf("Error: got NaN response, aborting\n");
31 do_rfe(STOP_ALL); 31 do_rfe(STOP_ALL);
32 exit(ERROR_TARGET); 32 exit(ERROR_RFFAIL);
33 } 33 }
34 return(meas); 34 return(meas);
35 } 35 }