Speed calculation fixed
This commit is contained in:
parent
9c6885b22c
commit
9381dfca50
|
@ -580,7 +580,7 @@ class SecureDfuImpl extends BaseCustomDfuImpl {
|
||||||
}
|
}
|
||||||
|
|
||||||
final long initialDelay = 300; // ms
|
final long initialDelay = 300; // ms
|
||||||
final long startTime = SystemClock.elapsedRealtime() - initialDelay;
|
final long startTime = SystemClock.elapsedRealtime() + initialDelay;
|
||||||
|
|
||||||
if (info.offset < mImageSizeInBytes) {
|
if (info.offset < mImageSizeInBytes) {
|
||||||
int attempt = 1;
|
int attempt = 1;
|
||||||
|
|
Loading…
Reference in New Issue