fixup! heimdall: Fix flashing firmwares bigger than 3.5GB

Fix show progress percentage for big files.
This commit is contained in:
fft 2021-03-28 19:54:55 +03:00 committed by Henrik Grimler
parent c87f5bf210
commit 92ea948323
1 changed files with 1 additions and 1 deletions

View File

@ -1052,7 +1052,7 @@ bool BridgeManager::SendFile(FILE *file, unsigned int destination, unsigned int
lastSequenceSize++;
}
unsigned int bytesTransferred = 0;
unsigned long bytesTransferred = 0;
unsigned int currentPercent;
unsigned int previousPercent = 0;
Interface::Print("0%%");