comparison autocal/vcxomain.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 7ad5836d3b87
children
comparison
equal deleted inserted replaced
103:16aab86384a7 104:7ad0495991ed
100 do_rfe(STOP_ALL); 100 do_rfe(STOP_ALL);
101 101
102 /* sanity check */ 102 /* sanity check */
103 if (zero_check_freq < -70.0f || zero_check_freq > 70.0f) { 103 if (zero_check_freq < -70.0f || zero_check_freq > 70.0f) {
104 printf("Error: final freq offset out of range, aborting\n"); 104 printf("Error: final freq offset out of range, aborting\n");
105 exit(ERROR_TARGET); 105 exit(ERROR_RFFAIL);
106 } 106 }
107 107
108 /* Psi computations */ 108 /* Psi computations */
109 Psi_sta = 2.0f * (float)M_PI * lin_a / 270833.0f; 109 Psi_sta = 2.0f * (float)M_PI * lin_a / 270833.0f;
110 Psi_st = Psi_sta * 0.8f; 110 Psi_st = Psi_sta * 0.8f;