From d807d3c20e715f509bd58d8188ea24dfb058d56b Mon Sep 17 00:00:00 2001 From: rusEfi Date: Sun, 7 Feb 2016 00:01:57 -0500 Subject: [PATCH] auto-sync --- firmware/config/engines/dodge_neon.cpp | 2 +- java_console/io/src/com/rusefi/io/serial/PortHolder.java | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/firmware/config/engines/dodge_neon.cpp b/firmware/config/engines/dodge_neon.cpp index 9f921d97f8..01244c61c1 100644 --- a/firmware/config/engines/dodge_neon.cpp +++ b/firmware/config/engines/dodge_neon.cpp @@ -235,7 +235,7 @@ void setDodgeNeonNGCEngineConfiguration(DECLARE_ENGINE_PARAMETER_F) { setFrankenso_01_LCD(boardConfiguration); setFrankenso0_1_joystick(engineConfiguration); - boardConfiguration->useWarmupPidAfr = true; +// boardConfiguration->useWarmupPidAfr = true; // set_global_trigger_offset_angle 38 engineConfiguration->globalTriggerAngleOffset = 38; diff --git a/java_console/io/src/com/rusefi/io/serial/PortHolder.java b/java_console/io/src/com/rusefi/io/serial/PortHolder.java index bf1ea38c03..554bf17245 100644 --- a/java_console/io/src/com/rusefi/io/serial/PortHolder.java +++ b/java_console/io/src/com/rusefi/io/serial/PortHolder.java @@ -80,10 +80,13 @@ public class PortHolder { } public static void setupPort(SerialPort serialPort, int baudRate) throws SerialPortException { + serialPort.setRTS(false); + serialPort.setDTR(false); serialPort.setParams(baudRate, 8, 1, 0);//Set params. int mask = SerialPort.MASK_RXCHAR; //Set the prepared mask serialPort.setEventsMask(mask); + serialPort.setFlowControlMode(0); } public void close() {