This commit is contained in:
2021-09-02 15:52:52 +02:00
parent 4daac1a06a
commit c1d28e47d4
2 changed files with 3 additions and 0 deletions

View File

@ -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);