mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 05:17:13 +02:00
wip
This commit is contained in:
@ -3740,7 +3740,7 @@ int program_fpga(int file_des) {
|
|||||||
(long long unsigned int)offset, (long long unsigned int)filesize));
|
(long long unsigned int)offset, (long long unsigned int)filesize));
|
||||||
|
|
||||||
// receive part of program
|
// receive part of program
|
||||||
if (receiveData(file_des, fpgasrc + offset, unitprogramsize, OTHER) < 0) {
|
if (receiveData(file_des, (char*)(fpgasrc + offset), unitprogramsize, OTHER) < 0) {
|
||||||
printSocketReadError();
|
printSocketReadError();
|
||||||
clientSocketCrash = 1;
|
clientSocketCrash = 1;
|
||||||
ret = FAIL;
|
ret = FAIL;
|
||||||
|
Reference in New Issue
Block a user