auto-sync

This commit is contained in:
rusEfi 2016-02-07 00:01:57 -05:00
parent 4e15b989f2
commit d807d3c20e
2 changed files with 4 additions and 1 deletions

View File

@ -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;

View File

@ -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() {