mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 01:58:00 +02:00
wip
This commit is contained in:
@ -159,9 +159,11 @@ int startCopyingFPGAProgram(FILE **fd, uint64_t fsize, char *mess) {
|
|||||||
memset(retvals, 0, MAX_STR_LENGTH);
|
memset(retvals, 0, MAX_STR_LENGTH);
|
||||||
if (FAIL == executeCommand(cmd, retvals, logDEBUG1)) {
|
if (FAIL == executeCommand(cmd, retvals, logDEBUG1)) {
|
||||||
strcpy(mess, retvals);
|
strcpy(mess, retvals);
|
||||||
|
LOG(logERROR, ("fail\n"));
|
||||||
// LOG(logERROR, (mess)); already printed in executecommand
|
// LOG(logERROR, (mess)); already printed in executecommand
|
||||||
return FAIL;
|
return FAIL;
|
||||||
}
|
}
|
||||||
|
LOG(logINFOBLUE, ("success\n"));
|
||||||
}
|
}
|
||||||
|
|
||||||
// check available memory to copy program
|
// check available memory to copy program
|
||||||
|
@ -3736,7 +3736,8 @@ int program_fpga(int file_des) {
|
|||||||
LOG(logERROR, (mess));
|
LOG(logERROR, (mess));
|
||||||
ret = FAIL;
|
ret = FAIL;
|
||||||
}
|
}
|
||||||
}
|
} else
|
||||||
|
LOG(logERROR, ("fail\n"));
|
||||||
Server_SendResult(file_des, INT32, NULL, 0);
|
Server_SendResult(file_des, INT32, NULL, 0);
|
||||||
if (ret == FAIL) {
|
if (ret == FAIL) {
|
||||||
if (fd != NULL) {
|
if (fd != NULL) {
|
||||||
|
Reference in New Issue
Block a user