auto-sync
This commit is contained in:
parent
b69c1e9cfa
commit
caec1809e6
|
@ -1,4 +1,4 @@
|
||||||
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Sun Jun 12 23:06:44 EDT 2016
|
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Tue Jun 14 02:28:29 EDT 2016
|
||||||
// begin
|
// begin
|
||||||
#ifndef ENGINE_CONFIGURATION_GENERATED_H_
|
#ifndef ENGINE_CONFIGURATION_GENERATED_H_
|
||||||
#define ENGINE_CONFIGURATION_GENERATED_H_
|
#define ENGINE_CONFIGURATION_GENERATED_H_
|
||||||
|
@ -1607,9 +1607,14 @@ typedef struct {
|
||||||
*/
|
*/
|
||||||
adc_channel_e fsioAdc[FSIO_ADC_COUNT];
|
adc_channel_e fsioAdc[FSIO_ADC_COUNT];
|
||||||
/**
|
/**
|
||||||
|
* Fixed timing, useful for TDC testing
|
||||||
* offset 2392
|
* offset 2392
|
||||||
*/
|
*/
|
||||||
int unused[164];
|
float fixedTiming;
|
||||||
|
/**
|
||||||
|
* offset 2396
|
||||||
|
*/
|
||||||
|
int unused[163];
|
||||||
/** total size 3048*/
|
/** total size 3048*/
|
||||||
} engine_configuration_s;
|
} engine_configuration_s;
|
||||||
|
|
||||||
|
@ -1798,4 +1803,4 @@ typedef struct {
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
// end
|
// end
|
||||||
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Sun Jun 12 23:06:44 EDT 2016
|
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Tue Jun 14 02:28:29 EDT 2016
|
||||||
|
|
|
@ -819,8 +819,9 @@
|
||||||
#define fsioAdc3_offset_hex 950
|
#define fsioAdc3_offset_hex 950
|
||||||
#define fsioAdc4_offset 2388
|
#define fsioAdc4_offset 2388
|
||||||
#define fsioAdc4_offset_hex 954
|
#define fsioAdc4_offset_hex 954
|
||||||
#define unused_offset 2392
|
#define fixedTiming_offset 2392
|
||||||
#define unused_offset_hex 958
|
#define fixedTiming_offset_hex 958
|
||||||
|
#define unused_offset 2396
|
||||||
#define le_formulas1_offset 3048
|
#define le_formulas1_offset 3048
|
||||||
#define le_formulas2_offset 3248
|
#define le_formulas2_offset 3248
|
||||||
#define le_formulas3_offset 3448
|
#define le_formulas3_offset 3448
|
||||||
|
|
|
@ -149,7 +149,7 @@ void TriggerState::decodeTriggerEvent(trigger_event_e const signal, efitime_t no
|
||||||
|
|
||||||
bool isPrimary = triggerWheel == T_PRIMARY;
|
bool isPrimary = triggerWheel == T_PRIMARY;
|
||||||
|
|
||||||
if (isLessImportant(signal)) {
|
if (isLessImportant(type)) {
|
||||||
#if EFI_UNIT_TEST || defined(__DOXYGEN__)
|
#if EFI_UNIT_TEST || defined(__DOXYGEN__)
|
||||||
if (printTriggerDebug) {
|
if (printTriggerDebug) {
|
||||||
printf("%s isLessImportant %s %d\r\n",
|
printf("%s isLessImportant %s %d\r\n",
|
||||||
|
|
|
@ -126,9 +126,8 @@ bool isTriggerDecoderError(void);
|
||||||
|
|
||||||
#define considerEventForGap() (!TRIGGER_SHAPE(useOnlyPrimaryForSync) || isPrimary)
|
#define considerEventForGap() (!TRIGGER_SHAPE(useOnlyPrimaryForSync) || isPrimary)
|
||||||
|
|
||||||
// todo: there is a bug here! signal is only allowed to be primary, but should be comparing for value, not signal!
|
#define isLessImportant(type) ((TRIGGER_SHAPE(useRiseEdge) && type != TV_RISE) \
|
||||||
#define isLessImportant(signal) ((TRIGGER_SHAPE(useRiseEdge) && signal != SHAFT_PRIMARY_RISING) \
|
|| (!TRIGGER_SHAPE(useRiseEdge) && type != TV_FALL) \
|
||||||
|| (!TRIGGER_SHAPE(useRiseEdge) && signal != SHAFT_PRIMARY_FALLING) \
|
|
||||||
|| (!considerEventForGap()) \
|
|| (!considerEventForGap()) \
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -693,7 +693,8 @@ float[MAP_ACCEL_TAPER] mapAccelTaperMult;;"mult", 1, 0, 0.0, 300,
|
||||||
brain_pin_e dizzySparkOutputPin;
|
brain_pin_e dizzySparkOutputPin;
|
||||||
pin_output_mode_e dizzySparkOutputPinMode;
|
pin_output_mode_e dizzySparkOutputPinMode;
|
||||||
adc_channel_e[FSIO_ADC_COUNT iterate] fsioAdc;
|
adc_channel_e[FSIO_ADC_COUNT iterate] fsioAdc;
|
||||||
int[164] unused;
|
float fixedTiming;Fixed timing, useful for TDC testing;"deg", 1, 0, -720, 720, 2
|
||||||
|
int[163] unused;
|
||||||
|
|
||||||
|
|
||||||
end_struct
|
end_struct
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.rusefi.config;
|
package com.rusefi.config;
|
||||||
|
|
||||||
// this file was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Sun Jun 12 22:41:42 EDT 2016
|
// this file was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Tue Jun 14 02:28:29 EDT 2016
|
||||||
public class Fields {
|
public class Fields {
|
||||||
public static final int LE_COMMAND_LENGTH = 200;
|
public static final int LE_COMMAND_LENGTH = 200;
|
||||||
public static final int FSIO_ADC_COUNT = 4;
|
public static final int FSIO_ADC_COUNT = 4;
|
||||||
|
@ -823,8 +823,9 @@ public class Fields {
|
||||||
public static final int fsioAdc3_offset_hex = 950;
|
public static final int fsioAdc3_offset_hex = 950;
|
||||||
public static final int fsioAdc4_offset = 2388;
|
public static final int fsioAdc4_offset = 2388;
|
||||||
public static final int fsioAdc4_offset_hex = 954;
|
public static final int fsioAdc4_offset_hex = 954;
|
||||||
public static final int unused_offset = 2392;
|
public static final int fixedTiming_offset = 2392;
|
||||||
public static final int unused_offset_hex = 958;
|
public static final int fixedTiming_offset_hex = 958;
|
||||||
|
public static final int unused_offset = 2396;
|
||||||
public static final int le_formulas1_offset = 3048;
|
public static final int le_formulas1_offset = 3048;
|
||||||
public static final int le_formulas2_offset = 3248;
|
public static final int le_formulas2_offset = 3248;
|
||||||
public static final int le_formulas3_offset = 3448;
|
public static final int le_formulas3_offset = 3448;
|
||||||
|
@ -1410,6 +1411,7 @@ public class Fields {
|
||||||
public static final Field FSIOADC2 = Field.create("FSIOADC2", 2380, FieldType.INT, adc_channel_e);
|
public static final Field FSIOADC2 = Field.create("FSIOADC2", 2380, FieldType.INT, adc_channel_e);
|
||||||
public static final Field FSIOADC3 = Field.create("FSIOADC3", 2384, FieldType.INT, adc_channel_e);
|
public static final Field FSIOADC3 = Field.create("FSIOADC3", 2384, FieldType.INT, adc_channel_e);
|
||||||
public static final Field FSIOADC4 = Field.create("FSIOADC4", 2388, FieldType.INT, adc_channel_e);
|
public static final Field FSIOADC4 = Field.create("FSIOADC4", 2388, FieldType.INT, adc_channel_e);
|
||||||
|
public static final Field FIXEDTIMING = Field.create("FIXEDTIMING", 2392, FieldType.FLOAT);
|
||||||
public static final Field LE_FORMULAS1 = Field.create("LE_FORMULAS1", 3048, FieldType.INT);
|
public static final Field LE_FORMULAS1 = Field.create("LE_FORMULAS1", 3048, FieldType.INT);
|
||||||
public static final Field LE_FORMULAS2 = Field.create("LE_FORMULAS2", 3248, FieldType.INT);
|
public static final Field LE_FORMULAS2 = Field.create("LE_FORMULAS2", 3248, FieldType.INT);
|
||||||
public static final Field LE_FORMULAS3 = Field.create("LE_FORMULAS3", 3448, FieldType.INT);
|
public static final Field LE_FORMULAS3 = Field.create("LE_FORMULAS3", 3448, FieldType.INT);
|
||||||
|
|
Loading…
Reference in New Issue