mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-04 00:50:42 +02:00
bugfix for 12bit to 16 bit expansion in server
This commit is contained in:
parent
1063e8b929
commit
94adba72bf
@ -1272,7 +1272,7 @@ int Feb_Control_Get16bitConversionDisabled(int *ret) {
|
||||
LOG(logERROR, ("Could not get 16 bit expansion (bit mode)\n"));
|
||||
return 0;
|
||||
}
|
||||
if (regval | DAQ_REG_HRDWRE_DSBL_16BIT_MSK) {
|
||||
if (regval & DAQ_REG_HRDWRE_DSBL_16BIT_MSK) {
|
||||
*ret = 1;
|
||||
} else {
|
||||
*ret = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user