This commit is contained in:
2021-09-03 14:35:34 +02:00
parent 20deeb8dcc
commit 4badb1141c
3 changed files with 6 additions and 8 deletions

View File

@ -174,7 +174,7 @@ int startCopyingFPGAProgram(FILE **fd, uint64_t fsize, char *mess) {
LOG(logERROR, (mess));
return FAIL;
}
LOG(logINFO, ("%s ready to copy program\n", TEMP_PROG_FILE_NAME));
LOG(logINFO, ("ready to copy program to %s\n", TEMP_PROG_FILE_NAME));
return OK;
}

View File

@ -3746,10 +3746,9 @@ int program_fpga(int file_des) {
uint64_t unitprogramsize = MAX_FPGAPROGRAMSIZE; // 2mb
if (unitprogramsize > filesize) // less than 2mb
unitprogramsize = filesize;
LOG(logINFOBLUE,
("unit size to receive is:%lld [filesize:%lld]\n",
(long long unsigned int)unitprogramsize,
(long long unsigned int)filesize));
LOG(logDEBUG1, ("unit size to receive is:%lld [filesize:%lld]\n",
(long long unsigned int)unitprogramsize,
(long long unsigned int)filesize));
// receive part of program
if (receiveData(file_des, src, unitprogramsize, OTHER) < 0) {