mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 18:17:59 +02:00
gotthard2, mythen3: firmware type check added, others: minor print
This commit is contained in:
Binary file not shown.
@ -127,7 +127,7 @@ int checkType() {
|
||||
#endif
|
||||
u_int32_t type = ((bus_r(BOARD_REVISION_REG) & DETECTOR_TYPE_MSK) >> DETECTOR_TYPE_OFST);
|
||||
if (type == DETECTOR_TYPE_MOENCH_VAL){
|
||||
FILE_LOG(logERROR, ("This is not a Gotthard Server (read %d, expected ?)\n", type));
|
||||
FILE_LOG(logERROR, ("This is not a Gotthard firmware (read %d, expected ?)\n", type));
|
||||
return FAIL;
|
||||
}
|
||||
return OK;
|
||||
|
Reference in New Issue
Block a user