# HG changeset patch # User Mychaela Falconia # Date 1512835567 0 # Node ID 661d122ed8e787d3f200bc62fa7eb5e8da16e9ad # Parent 44c6a2b4d40a2bd389086d6868501ff43816ee06 fc-rfcal-txband: added delay which should prevent intermittent fw crash diff -r 44c6a2b4d40a -r 661d122ed8e7 autocal/txbandmain.c --- 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);