This commit fixes the issue #336

A delay of 100ms has been added between the generation of the stop pulse and the resetCore function call. This should give enough time to the detector to readout and streamout the ongoing frame before the internal logic is reset (even after the transmission is delayed with txndelay_frame).
This commit is contained in:
lopez_c 2021-12-14 17:28:56 +01:00
parent f476266e5e
commit 6057de2a6d
2 changed files with 1 additions and 0 deletions

View File

@ -2646,6 +2646,7 @@ int stopStateMachine() {
LOG(logINFO, ("Status Register: %08x\n", bus_r(STATUS_REG))); LOG(logINFO, ("Status Register: %08x\n", bus_r(STATUS_REG)));
usleep(100 * 1000);
resetCore(); resetCore();
return OK; return OK;
} }