From 13dcf7ea40fe82382e7a98342079f7a3777e7e3a Mon Sep 17 00:00:00 2001 From: rusefi Date: Tue, 21 Nov 2017 22:28:22 -0500 Subject: [PATCH] better message --- java_console/autotest/src/com/rusefi/RealHwTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/java_console/autotest/src/com/rusefi/RealHwTest.java b/java_console/autotest/src/com/rusefi/RealHwTest.java index 9ecab90305..8243d4cb0f 100644 --- a/java_console/autotest/src/com/rusefi/RealHwTest.java +++ b/java_console/autotest/src/com/rusefi/RealHwTest.java @@ -10,11 +10,12 @@ import static com.rusefi.AutoTest.*; * 2/22/2015 */ public class RealHwTest { + private static final int STARTUP_SLEEP = 45; private static final long SECOND = 1000L; public static void main(String[] args) throws InterruptedException { - System.out.println("Sleeping to give OS time to connect VCP driver"); - Thread.sleep(45 * SECOND); + System.out.println("Sleeping " + STARTUP_SLEEP + " seconds to give OS time to connect VCP driver"); + Thread.sleep(STARTUP_SLEEP * SECOND); long start = System.currentTimeMillis(); String port = startRealHardwareTest(args);