auto-sync
This commit is contained in:
parent
4e15b989f2
commit
d807d3c20e
|
@ -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;
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue