mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 06:50:02 +02:00
more print for error in basictests
This commit is contained in:
parent
717d68c217
commit
3167aade45
@ -92,14 +92,16 @@ void init_detector() {
|
||||
#ifdef EIGERD
|
||||
udpDetails[0].dstport2 = DEFAULT_UDP_DST_PORTNO + 1;
|
||||
#endif
|
||||
|
||||
lockStatus = 0;
|
||||
if (isControlServer) {
|
||||
basictests();
|
||||
initControlServer();
|
||||
} else
|
||||
char *message = NULL;
|
||||
if (getInitResult(&message) == OK) {
|
||||
initControlServer();
|
||||
}
|
||||
} else {
|
||||
initStopServer();
|
||||
strcpy(mess, "dummy message");
|
||||
lockStatus = 0;
|
||||
}
|
||||
}
|
||||
|
||||
int decode_function(int file_des) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user