This commit is contained in:
2021-09-03 13:17:27 +02:00
parent 9c9f2d5c70
commit 20deeb8dcc
4 changed files with 112 additions and 139 deletions

View File

@ -3450,16 +3450,7 @@ void Module::programFPGAviaBlackfin(std::vector<char> buffer) {
}
filesize -= unitprogramsize;
currentPointer += unitprogramsize;
// print progress
printf(
"%d%%\r",
static_cast<int>(
(static_cast<double>(totalsize - filesize) / totalsize) * 100));
std::cout << std::flush;
}
std::cout << '\n';
/*
// error in detector at opening file pointer to flash