mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-09 03:20:42 +02:00
jungfrau server bug fix: always reading chipversion as 1.1
This commit is contained in:
parent
f51529bb3b
commit
2fc2c34fad
@ -300,7 +300,7 @@ int isHardwareVersion2() {
|
|||||||
|
|
||||||
int getChipVersion() {
|
int getChipVersion() {
|
||||||
// chip v1.1
|
// chip v1.1
|
||||||
if (bus_r(DAQ_REG | DAQ_CHIP11_VRSN_MSK)) {
|
if (bus_r(DAQ_REG) & DAQ_CHIP11_VRSN_MSK) {
|
||||||
return 11;
|
return 11;
|
||||||
}
|
}
|
||||||
// chip v1.0
|
// chip v1.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user