mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-22 10:41:33 +02:00
wip
This commit is contained in:
parent
665a44998b
commit
567f4bcab6
@ -3734,12 +3734,14 @@ int program_fpga(int file_des) {
|
||||
if (src == NULL) {
|
||||
strcpy(mess, "Could not allocate memory to get fpga program\n");
|
||||
LOG(logERROR, (mess));
|
||||
fclose(fd);
|
||||
return FAIL;
|
||||
ret = FAIL;
|
||||
}
|
||||
}
|
||||
Server_SendResult(file_des, INT32, NULL, 0);
|
||||
|
||||
if (ret == FAIL) {
|
||||
fclose(fd);
|
||||
return FAIL;
|
||||
}
|
||||
// copying program part by part
|
||||
uint64_t totalsize = filesize;
|
||||
while (ret != FAIL && filesize) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user