FreeCalypso > hg > fc-rfcal-tools
diff 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 |
line wrap: on
line diff
--- a/autocal/txbandmain.c Sat Dec 09 07:07:19 2017 +0000 +++ b/autocal/txbandmain.c Sat Dec 09 16:06:07 2017 +0000 @@ -125,6 +125,13 @@ /* actual Tx levels calibration */ calibrate_tx_levels(); + /* + * We need to insert a delay between stopping Tx + * and doing the FFS write in order to avoid + * an intermittent fw crash on the DUT. + */ + usleep(100000); + printf("Saving calibrated values in FFS\n"); misc_enable(CFG_WRITE_TX_CAL); exit(0);