back to 3 second auto-DFU sleep

This commit is contained in:
rusefi 2021-11-07 13:25:34 -05:00
parent 8672c66405
commit bb9717303d
2 changed files with 3 additions and 2 deletions

View File

@ -6,7 +6,7 @@ import java.net.URL;
import java.util.concurrent.atomic.AtomicReference;
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 long classBuildTimeMillis() {

View File

@ -118,7 +118,8 @@ public class DfuFlasher {
private static void timeForDfuSwitch(StatusWindow wnd) {
wnd.appendMsg("Giving time for USB enumeration...");
try {
Thread.sleep(2 * Timeouts.SECOND);
// two seconds not enough on my Windows 10
Thread.sleep(3 * Timeouts.SECOND);
} catch (InterruptedException e) {
throw new IllegalStateException(e);
}