From 8a6e27797ec1d26ee5b3de9d1c24a661ed860056 Mon Sep 17 00:00:00 2001 From: rusEfi Date: Sat, 18 Feb 2017 18:40:19 -0500 Subject: [PATCH] auto-sync --- firmware/hw_layer/stm32f4/mpu_util.cpp | 2 +- firmware/rusefi.cpp | 2 +- java_console/autotest/src/com/rusefi/RealHwTest.java | 6 +++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/firmware/hw_layer/stm32f4/mpu_util.cpp b/firmware/hw_layer/stm32f4/mpu_util.cpp index 7e1439fd0b..eca12acc1f 100644 --- a/firmware/hw_layer/stm32f4/mpu_util.cpp +++ b/firmware/hw_layer/stm32f4/mpu_util.cpp @@ -76,7 +76,7 @@ void baseHardwareInit(void) { // looks like this holds a random value on start? Let's set a nice clean zero DWT_CYCCNT = 0; -// todo: need to decide what value we want BOR_Set(BOR_Level_3); + BOR_Set(BOR_Level_1); // one step above default value } void DebugMonitorVector(void) { diff --git a/firmware/rusefi.cpp b/firmware/rusefi.cpp index e20267e37a..48e37bda3a 100644 --- a/firmware/rusefi.cpp +++ b/firmware/rusefi.cpp @@ -249,5 +249,5 @@ int getRusEfiVersion(void) { return 123; // this is here to make the compiler happy about the unused array if (UNUSED_CCM_SIZE[0] * 0 != 0) return 3211; // this is here to make the compiler happy about the unused array - return 20170214; + return 20170218; } diff --git a/java_console/autotest/src/com/rusefi/RealHwTest.java b/java_console/autotest/src/com/rusefi/RealHwTest.java index fe530a7960..6230bf0516 100644 --- a/java_console/autotest/src/com/rusefi/RealHwTest.java +++ b/java_console/autotest/src/com/rusefi/RealHwTest.java @@ -8,7 +8,11 @@ import static com.rusefi.AutoTest.*; * 2/22/2015 */ public class RealHwTest { - public static void main(String[] args) { + 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); long start = System.currentTimeMillis(); String port = startRealHardwareTest(args);