mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-07 18:40:42 +02:00
wip
This commit is contained in:
parent
ae52dc106b
commit
cf96545f60
@ -3725,7 +3725,8 @@ int program_fpga(int file_des) {
|
|||||||
return printSocketReadError();
|
return printSocketReadError();
|
||||||
LOG(logINFOBLUE, ("Program size is: %lld\n",
|
LOG(logINFOBLUE, ("Program size is: %lld\n",
|
||||||
(long long unsigned int)filesize));
|
(long long unsigned int)filesize));
|
||||||
fpgasrc = malloc(filesize);
|
int fsize = filesize;
|
||||||
|
fpgasrc = malloc(fsize);
|
||||||
if (fpgasrc == NULL) {
|
if (fpgasrc == NULL) {
|
||||||
LOG(logERROR, ("Could not malloc\n"));
|
LOG(logERROR, ("Could not malloc\n"));
|
||||||
ret = FAIL;
|
ret = FAIL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user