mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-11 04:17:15 +02:00
wip
This commit is contained in:
@ -3725,7 +3725,7 @@ 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(MAX_FPGAPROGRAMSIZE);
|
fpgasrc = malloc(filesize);
|
||||||
//fpgasrc = malloc(filesize + 1);
|
//fpgasrc = malloc(filesize + 1);
|
||||||
uint64_t totalsize = filesize;
|
uint64_t totalsize = filesize;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user