mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-13 23:30:25 +01:00
wip
This commit is contained in:
@@ -3725,7 +3725,8 @@ int program_fpga(int file_des) {
|
||||
return printSocketReadError();
|
||||
LOG(logINFOBLUE, ("Program size is: %lld\n",
|
||||
(long long unsigned int)filesize));
|
||||
fpgasrc = malloc(filesize);
|
||||
int fsize = filesize;
|
||||
fpgasrc = malloc(fsize);
|
||||
if (fpgasrc == NULL) {
|
||||
LOG(logERROR, ("Could not malloc\n"));
|
||||
ret = FAIL;
|
||||
|
||||
Reference in New Issue
Block a user