mirror of
https://github.com/EEVengers/ThunderScope.git
synced 2025-04-08 06:25:30 +00:00
work around fifo errors
This commit is contained in:
parent
1fc92c7b47
commit
30b86f559b
@ -102,6 +102,11 @@ enum ThunderScopeHWStatus thunderscopehw_stop(struct ThunderScopeHW* ts) {
|
||||
return THUNDERSCOPEHW_STATUS_ALREADY_STOPPED;
|
||||
ts->datamover_en = false;
|
||||
THUNDERSCOPEHW_RUN(set_datamover_reg(ts));
|
||||
#ifdef WIN32
|
||||
Sleep(5);
|
||||
#else
|
||||
usleep(5000);
|
||||
#endif
|
||||
ts->fpga_adc_en = false;
|
||||
return thunderscopehw_set_datamover_reg(ts);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user