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