Speed calculation fixed

This commit is contained in:
Aleksander Nowakowski 2019-11-14 13:23:24 +01:00
parent 9c6885b22c
commit 9381dfca50
1 changed files with 1 additions and 1 deletions

View File

@ -580,7 +580,7 @@ class SecureDfuImpl extends BaseCustomDfuImpl {
}
final long initialDelay = 300; // ms
final long startTime = SystemClock.elapsedRealtime() - initialDelay;
final long startTime = SystemClock.elapsedRealtime() + initialDelay;
if (info.offset < mImageSizeInBytes) {
int attempt = 1;