mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-16 06:47:14 +02:00
wip
This commit is contained in:
@ -3744,9 +3744,11 @@ int program_fpga(int file_des) {
|
||||
printSocketReadError();
|
||||
clientSocketCrash = 1;
|
||||
ret = FAIL;
|
||||
LOG(logERROR, ("error, not receiverd\n"));
|
||||
}
|
||||
// client has not crashed yet, so write to flash and send ret
|
||||
else {
|
||||
LOG(logINFOBLUE, ("receiverd\n"));
|
||||
offset += unitprogramsize;
|
||||
Server_SendResult(file_des, INT32, NULL, 0);
|
||||
|
||||
|
@ -3434,6 +3434,7 @@ void Module::programFPGAviaBlackfin(std::vector<char> buffer) {
|
||||
<< "\t filesize:" << filesize;
|
||||
|
||||
client.Send(&buffer[currentPointer], unitprogramsize);
|
||||
LOG(logINFOBLUE) << "sent!";
|
||||
if (client.Receive<int>() == FAIL) {
|
||||
std::cout << '\n';
|
||||
std::ostringstream os;
|
||||
|
Reference in New Issue
Block a user