fixup! heimdall: Fix flashing firmwares bigger than 3.5GB
Fix show progress percentage for big files.
This commit is contained in:
parent
c87f5bf210
commit
92ea948323
|
@ -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%%");
|
||||
|
|
Loading…
Reference in New Issue