mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-06 10:00:40 +02:00
wip
This commit is contained in:
parent
ae52dc106b
commit
cf96545f60
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user