mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 04:47:14 +02:00
gotthard2, mythen3: firmware type check added, others: minor print
This commit is contained in:
Binary file not shown.
@ -187,7 +187,7 @@ int checkType() {
|
||||
uint32_t expectedType = (((FPGA_VERSION_DTCTR_TYP_MOENCH_VAL) & FPGA_VERSION_DTCTR_TYP_MSK) >> FPGA_VERSION_DTCTR_TYP_OFST);
|
||||
|
||||
if (type != expectedType) {
|
||||
FILE_LOG(logERROR, ("(Type Fail) - This is not a Moench Detector Server (read %d, expected %d)\n",
|
||||
FILE_LOG(logERROR, ("(Type Fail) - This is not a Moench Detector firmware (read %d, expected %d)\n",
|
||||
type, expectedType));
|
||||
return FAIL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user