mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 21:07:13 +02:00
fixed dark/gain image correction
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@122 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@ -891,8 +891,12 @@ int loadImage(int index, short int ImageVals[]){
|
||||
address = GAIN_IMAGE_REG;
|
||||
break;
|
||||
}
|
||||
int *ptr=(u_int16_t*)(CSP0BASE+address*2);
|
||||
dma_memcpy(ptr,ImageVals ,2560);
|
||||
volatile u_int16_t *ptr;
|
||||
ptr=(u_int16_t*)(CSP0BASE+address*2);
|
||||
memcpy(ptr,ImageVals ,2560);
|
||||
#ifdef VERBOSE
|
||||
printf("Loaded x%08x address with image of index %d\n",ptr,index);
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user