back to 3 second auto-DFU sleep
This commit is contained in:
parent
8672c66405
commit
bb9717303d
|
@ -6,7 +6,7 @@ import java.net.URL;
|
||||||
import java.util.concurrent.atomic.AtomicReference;
|
import java.util.concurrent.atomic.AtomicReference;
|
||||||
|
|
||||||
public class rusEFIVersion {
|
public class rusEFIVersion {
|
||||||
public static final int CONSOLE_VERSION = 20211031;
|
public static final int CONSOLE_VERSION = 20211107;
|
||||||
public static AtomicReference<String> firmwareVersion = new AtomicReference<>("N/A");
|
public static AtomicReference<String> firmwareVersion = new AtomicReference<>("N/A");
|
||||||
|
|
||||||
public static long classBuildTimeMillis() {
|
public static long classBuildTimeMillis() {
|
||||||
|
|
|
@ -118,7 +118,8 @@ public class DfuFlasher {
|
||||||
private static void timeForDfuSwitch(StatusWindow wnd) {
|
private static void timeForDfuSwitch(StatusWindow wnd) {
|
||||||
wnd.appendMsg("Giving time for USB enumeration...");
|
wnd.appendMsg("Giving time for USB enumeration...");
|
||||||
try {
|
try {
|
||||||
Thread.sleep(2 * Timeouts.SECOND);
|
// two seconds not enough on my Windows 10
|
||||||
|
Thread.sleep(3 * Timeouts.SECOND);
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
throw new IllegalStateException(e);
|
throw new IllegalStateException(e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue