mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 04:47:14 +02:00
fixed 32 progress problem, and increased debugging
This commit is contained in:
@ -85,7 +85,7 @@ int decode_function(int file_des) {
|
||||
fnum=255;
|
||||
ret=(*flist[fnum])(file_des);
|
||||
if (ret==FAIL)
|
||||
printf( "Error executing the function = %d \n",fnum);
|
||||
cprintf( RED, "Error executing the function = %d \n",fnum);
|
||||
return ret;
|
||||
}
|
||||
|
||||
@ -2603,7 +2603,7 @@ int set_dynamic_range(int file_des) {
|
||||
ret=FORCE_UPDATE;
|
||||
|
||||
#ifdef SLS_DETECTOR_FUNCTION_LIST
|
||||
dataBytes=calculateDataBytes();
|
||||
if (dr>=0) dataBytes=calculateDataBytes();
|
||||
#endif
|
||||
|
||||
//ret could be swapped during sendData
|
||||
|
Reference in New Issue
Block a user