mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 23:30:03 +02:00
wip
This commit is contained in:
parent
0b3477bba1
commit
ae52dc106b
@ -3726,6 +3726,10 @@ int program_fpga(int file_des) {
|
||||
LOG(logINFOBLUE, ("Program size is: %lld\n",
|
||||
(long long unsigned int)filesize));
|
||||
fpgasrc = malloc(filesize);
|
||||
if (fpgasrc == NULL) {
|
||||
LOG(logERROR, ("Could not malloc\n"));
|
||||
ret = FAIL;
|
||||
}
|
||||
//fpgasrc = malloc(filesize + 1);
|
||||
uint64_t totalsize = filesize;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user