auto-sync

This commit is contained in:
rusEfi 2016-09-12 22:04:40 -04:00
parent 2407ca95cf
commit 8d194c262d
3 changed files with 16 additions and 3 deletions

View File

@ -1,4 +1,4 @@
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Sun Sep 11 22:19:47 EDT 2016
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Mon Sep 12 21:38:15 EDT 2016
// begin
#ifndef ENGINE_CONFIGURATION_GENERATED_H_
#define ENGINE_CONFIGURATION_GENERATED_H_
@ -1274,6 +1274,7 @@ typedef struct {
bool isManualSpinningMode : 1;
/**
* This is needed if batched injection and individual injector wiring
* enable two_wire_batch_injection
offset 1500 bit 13 */
bool twoWireBatchInjection : 1;
/**
@ -1930,4 +1931,4 @@ typedef struct {
#endif
// end
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Sun Sep 11 22:19:47 EDT 2016
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Mon Sep 12 21:38:15 EDT 2016

View File

@ -598,7 +598,7 @@ custom idle_mode_e 4 bits, U32, @OFFSET@, [0:0], "false", "true"
bit isIdleThreadEnabled
bit isPrintTriggerSynchDetails
bit isManualSpinningMode;Usually if we have no trigger events that means engine is stopped\nUnless we are troubleshooting and spinning the engine by hand - this case a longer\ndelay is needed
bit twoWireBatchInjection;+This is needed if batched injection and individual injector wiring
bit twoWireBatchInjection;+This is needed if batched injection and individual injector wiring\nenable two_wire_batch_injection
bit useOnlyRisingEdgeForTrigger;+VR sensors are only precise on rising front
bit twoWireBatchIgnition;+This is needed if batched igniton (waster spark) and individual coil wiring

View File

@ -1,6 +1,7 @@
package com.rusefi.ui;
import com.rusefi.ConfigurationImage;
import com.rusefi.FileLog;
import com.rusefi.binaryprotocol.BinaryProtocol;
import com.rusefi.config.Fields;
import com.rusefi.core.Sensor;
@ -32,6 +33,16 @@ public class FormulasPane {
centerProxy.add(new JLabel("Waiting for data..."), BorderLayout.CENTER);
JButton saveImage = UiUtils.createSaveImageButton();
saveImage.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
String fileName = FileLog.getDate() + "_formulas.png";
UiUtils.saveImageWithPrompt(fileName, centerProxy, centerProxy);
}
});
final JButton pauseButton = UiUtils.createPauseButton();
pauseButton.addActionListener(new ActionListener() {
@Override
@ -41,6 +52,7 @@ public class FormulasPane {
}
});
JPanel top = new JPanel(new FlowLayout());
top.add(saveImage);
top.add(pauseButton);
content.add(top, BorderLayout.NORTH);