auto-sync

This commit is contained in:
rusEfi 2016-07-19 11:01:48 -04:00
parent c67251b8d9
commit 0955cbd536
5 changed files with 20 additions and 20 deletions

View File

@ -1,4 +1,4 @@
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Sun Jul 17 02:23:45 EDT 2016
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Tue Jul 19 09:56:19 EDT 2016
// begin
#ifndef ENGINE_CONFIGURATION_GENERATED_H_
#define ENGINE_CONFIGURATION_GENERATED_H_
@ -243,11 +243,11 @@ typedef struct {
/**
* offset 16
*/
float customSyncRatioFrom;
float unusedcustomSyncRatioFrom;
/**
* offset 20
*/
float customSyncRatioTo;
float unusedcustomSyncRatioTo;
/**
* offset 24
*/
@ -1902,4 +1902,4 @@ typedef struct {
#endif
// end
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Sun Jul 17 02:23:45 EDT 2016
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Tue Jul 19 09:56:19 EDT 2016

View File

@ -235,9 +235,9 @@
#define trigger_customTotalToothCount_offset_hex 220
#define trigger_customSkippedToothCount_offset 548
#define trigger_customSkippedToothCount_offset_hex 224
#define trigger_customSyncRatioFrom_offset 552
#define trigger_customSyncRatioFrom_offset_hex 228
#define trigger_customSyncRatioTo_offset 556
#define trigger_unusedcustomSyncRatioFrom_offset 552
#define trigger_unusedcustomSyncRatioFrom_offset_hex 228
#define trigger_unusedcustomSyncRatioTo_offset 556
#define trigger_customUseRiseEdge_offset 560
#define trigger_customUseRiseEdge_offset_hex 230
#define hip9011SpiDevice_offset 564

View File

@ -320,8 +320,8 @@ custom trigger_type_e 4 bits, U32, @OFFSET@, [0:4], @@trigger_type_e_enum@@
int customTotalToothCount;;"number", 1, 0.0, 0, 500.0, 0
int customSkippedToothCount;;"number", 1, 0.0, 0, 500.0, 0
float customSyncRatioFrom;;"number", 1, 0.0, 0, 1000.0, 4
float customSyncRatioTo;;"number", 1, 0.0, 0, 1000.0, 4
float unusedcustomSyncRatioFrom;;"number", 1, 0.0, 0, 1000.0, 4
float unusedcustomSyncRatioTo;;"number", 1, 0.0, 0, 1000.0, 4
bool32_t customUseRiseEdge;
end_struct

View File

@ -42,7 +42,7 @@ enable2ndByteCanID = false
; see PAGE_0_SIZE in C source code
; CONFIG_DEFINITION_START
; this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Sun Jul 17 02:00:17 EDT 2016
; this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Tue Jul 19 09:56:19 EDT 2016
pageSize = 16376
page = 1
@ -161,8 +161,8 @@ page = 1
trigger_useOnlyFirstChannel= bits, U32, 540, [2:2], "false", "true"
trigger_customTotalToothCount = scalar, S32, 544, "number", 1, 0.0, 0, 500.0, 0
trigger_customSkippedToothCount = scalar, S32, 548, "number", 1, 0.0, 0, 500.0, 0
trigger_customSyncRatioFrom = scalar, F32, 552, "number", 1, 0.0, 0, 1000.0, 4
trigger_customSyncRatioTo = scalar, F32, 556, "number", 1, 0.0, 0, 1000.0, 4
trigger_unusedcustomSyncRatioFrom = scalar, F32, 552, "number", 1, 0.0, 0, 1000.0, 4
trigger_unusedcustomSyncRatioTo = scalar, F32, 556, "number", 1, 0.0, 0, 1000.0, 4
trigger_customUseRiseEdge = bits, U32, 560, [0:0], "false", "true"
hip9011SpiDevice = bits,U32, 564, [0:1], "Off", "SPI1", "SPI2", "SPI3"
globalFuelCorrection = scalar, F32, 568, "coef", 1, 0.0, 0, 1000.0, 2
@ -1426,8 +1426,8 @@ cmd_test_idle_valve = "w\x00\x17\x00\x01"
field = "Synchronization Needed?", trigger_customIsSynchronizationNeeded, {trigger_type == 0}
field = "total Tooth Count", trigger_customTotalToothCount, {trigger_type == 0}
field = "skipped Tooth Count", trigger_customSkippedToothCount, {trigger_type == 0}
field = "sync Ratio From", trigger_customSyncRatioFrom, {trigger_type == 0}
field = "sync Ratio To", trigger_customSyncRatioTo, {trigger_type == 0}
; field = "sync Ratio From", trigger_customSyncRatioFrom, {trigger_type == 0}
; field = "sync Ratio To", trigger_customSyncRatioTo, {trigger_type == 0}
field = "use Rise Edge?", trigger_customUseRiseEdge, {trigger_type == 0}
field = "needed Second Trigger Input?", trigger_customNeedSecondTriggerInput, {trigger_type == 0}
dialog = triggerConfiguration_IO, "Settings I/O"

View File

@ -1,6 +1,6 @@
package com.rusefi.config;
// this file was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Sun Jul 17 02:23:45 EDT 2016
// this file was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Tue Jul 19 09:56:19 EDT 2016
public class Fields {
public static final int LE_COMMAND_LENGTH = 200;
public static final int FSIO_ADC_COUNT = 4;
@ -239,9 +239,9 @@ public class Fields {
public static final int trigger_customTotalToothCount_offset_hex = 220;
public static final int trigger_customSkippedToothCount_offset = 548;
public static final int trigger_customSkippedToothCount_offset_hex = 224;
public static final int trigger_customSyncRatioFrom_offset = 552;
public static final int trigger_customSyncRatioFrom_offset_hex = 228;
public static final int trigger_customSyncRatioTo_offset = 556;
public static final int trigger_unusedcustomSyncRatioFrom_offset = 552;
public static final int trigger_unusedcustomSyncRatioFrom_offset_hex = 228;
public static final int trigger_unusedcustomSyncRatioTo_offset = 556;
public static final int trigger_customUseRiseEdge_offset = 560;
public static final int trigger_customUseRiseEdge_offset_hex = 230;
public static final int hip9011SpiDevice_offset = 564;
@ -1052,8 +1052,8 @@ public class Fields {
public static final Field TRIGGER_USEONLYFIRSTCHANNEL = Field.create("TRIGGER_USEONLYFIRSTCHANNEL", 540, FieldType.BIT, 2);
public static final Field TRIGGER_CUSTOMTOTALTOOTHCOUNT = Field.create("TRIGGER_CUSTOMTOTALTOOTHCOUNT", 544, FieldType.INT);
public static final Field TRIGGER_CUSTOMSKIPPEDTOOTHCOUNT = Field.create("TRIGGER_CUSTOMSKIPPEDTOOTHCOUNT", 548, FieldType.INT);
public static final Field TRIGGER_CUSTOMSYNCRATIOFROM = Field.create("TRIGGER_CUSTOMSYNCRATIOFROM", 552, FieldType.FLOAT);
public static final Field TRIGGER_CUSTOMSYNCRATIOTO = Field.create("TRIGGER_CUSTOMSYNCRATIOTO", 556, FieldType.FLOAT);
public static final Field TRIGGER_UNUSEDCUSTOMSYNCRATIOFROM = Field.create("TRIGGER_UNUSEDCUSTOMSYNCRATIOFROM", 552, FieldType.FLOAT);
public static final Field TRIGGER_UNUSEDCUSTOMSYNCRATIOTO = Field.create("TRIGGER_UNUSEDCUSTOMSYNCRATIOTO", 556, FieldType.FLOAT);
public static final Field TRIGGER_CUSTOMUSERISEEDGE = Field.create("TRIGGER_CUSTOMUSERISEEDGE", 560, FieldType.INT);
public static final Field HIP9011SPIDEVICE = Field.create("HIP9011SPIDEVICE", 564, FieldType.INT);
public static final Field GLOBALFUELCORRECTION = Field.create("GLOBALFUELCORRECTION", 568, FieldType.FLOAT);