comparison autocal/txbandmain.c @ 106:661d122ed8e7

fc-rfcal-txband: added delay which should prevent intermittent fw crash
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 09 Dec 2017 16:06:07 +0000
parents 2bed7b024f64
children ae8da516681c
comparison
equal deleted inserted replaced
105:44c6a2b4d40a 106:661d122ed8e7
123 /* analytical follow-up */ 123 /* analytical follow-up */
124 txcal_basis_compute(); 124 txcal_basis_compute();
125 /* actual Tx levels calibration */ 125 /* actual Tx levels calibration */
126 calibrate_tx_levels(); 126 calibrate_tx_levels();
127 127
128 /*
129 * We need to insert a delay between stopping Tx
130 * and doing the FFS write in order to avoid
131 * an intermittent fw crash on the DUT.
132 */
133 usleep(100000);
134
128 printf("Saving calibrated values in FFS\n"); 135 printf("Saving calibrated values in FFS\n");
129 misc_enable(CFG_WRITE_TX_CAL); 136 misc_enable(CFG_WRITE_TX_CAL);
130 exit(0); 137 exit(0);
131 } 138 }