fixed jungfrau configure bug by getting rid of gb10reset at configure

This commit is contained in:
Dhanya Maliakal
2016-11-08 09:35:34 +01:00
parent 52cf790dde
commit 8aea36b4ef
6 changed files with 50 additions and 6 deletions

View File

@ -58,8 +58,8 @@ int init_detector(int b) {
if(b){
defineGPIOpins();
resetFPGA();
usleep(250*1000);
}
}else
usleep(300*1000);
if (mapCSP0()==FAIL) {
printf("Could not map memory\n");
@ -3180,7 +3180,6 @@ int reset_fpga(int file_des) {
sprintf(mess,"Reset FPGA unsuccessful\n");
resetFPGA();
usleep(250*1000);
initializeDetector();
ret = FORCE_UPDATE;