This commit is contained in:
parent
a6ccf51bbb
commit
4ab79c3bdb
|
@ -606,6 +606,12 @@ void setDefaultConfiguration(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||||
setTableBin2(engineConfiguration->cltTimingBins, CLT_TIMING_CURVE_SIZE, -40, 120, 1);
|
setTableBin2(engineConfiguration->cltTimingBins, CLT_TIMING_CURVE_SIZE, -40, 120, 1);
|
||||||
setTableBin2(engineConfiguration->cltTimingExtra, CLT_TIMING_CURVE_SIZE, 0, 0, 1);
|
setTableBin2(engineConfiguration->cltTimingExtra, CLT_TIMING_CURVE_SIZE, 0, 0, 1);
|
||||||
|
|
||||||
|
setTableBin2(engineConfiguration->fsioCurve1Bins, FSIO_CURVE_16, 0, 100, 1);
|
||||||
|
setTableBin2(engineConfiguration->fsioCurve2Bins, FSIO_CURVE_16, 0, 100, 1);
|
||||||
|
setTableBin2(engineConfiguration->fsioCurve3Bins, FSIO_CURVE_8, 0, 100, 1);
|
||||||
|
setTableBin2(engineConfiguration->fsioCurve4Bins, FSIO_CURVE_8, 0, 100, 1);
|
||||||
|
|
||||||
|
|
||||||
setDefaultWarmupIdleCorrection(PASS_ENGINE_PARAMETER_SIGNATURE);
|
setDefaultWarmupIdleCorrection(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||||
|
|
||||||
setDefaultWarmupFuelEnrichment(PASS_ENGINE_PARAMETER_SIGNATURE);
|
setDefaultWarmupFuelEnrichment(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
/*
|
||||||
|
* aux_valves.cpp
|
||||||
|
*
|
||||||
|
* @date Nov 25, 2017
|
||||||
|
* @author Andrey Belomutskiy, (c) 2012-2017
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "aux_valves.h"
|
||||||
|
|
||||||
|
void initAuxValves(Logging *sharedLogger) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
/*
|
||||||
|
* aux_valves.h
|
||||||
|
*
|
||||||
|
* @date Nov 25, 2017
|
||||||
|
* @author Andrey Belomutskiy, (c) 2012-2017
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef CONTROLLERS_TRIGGER_AUX_VALVES_H_
|
||||||
|
#define CONTROLLERS_TRIGGER_AUX_VALVES_H_
|
||||||
|
|
||||||
|
#include "engine.h"
|
||||||
|
|
||||||
|
void initAuxValves(Logging *sharedLogger);
|
||||||
|
|
||||||
|
#endif /* CONTROLLERS_TRIGGER_AUX_VALVES_H_ */
|
|
@ -58,6 +58,7 @@
|
||||||
#include "event_queue.h"
|
#include "event_queue.h"
|
||||||
#include "engine.h"
|
#include "engine.h"
|
||||||
#include "efilib2.h"
|
#include "efilib2.h"
|
||||||
|
#include "aux_valves.h"
|
||||||
|
|
||||||
EXTERN_ENGINE
|
EXTERN_ENGINE
|
||||||
;
|
;
|
||||||
|
@ -535,6 +536,8 @@ void initMainEventListener(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX
|
||||||
efiAssertVoid(engine!=NULL, "null engine");
|
efiAssertVoid(engine!=NULL, "null engine");
|
||||||
initSparkLogic(logger);
|
initSparkLogic(logger);
|
||||||
|
|
||||||
|
initAuxValves(logger);
|
||||||
|
|
||||||
#if EFI_PROD_CODE || defined(__DOXYGEN__)
|
#if EFI_PROD_CODE || defined(__DOXYGEN__)
|
||||||
addConsoleAction("performanceinfo", showTriggerHistogram);
|
addConsoleAction("performanceinfo", showTriggerHistogram);
|
||||||
addConsoleActionP("maininfo", (VoidPtr) showMainInfo, engine);
|
addConsoleActionP("maininfo", (VoidPtr) showMainInfo, engine);
|
||||||
|
|
|
@ -20,4 +20,5 @@ TRIGGER_SRC_CPP = \
|
||||||
$(PROJECT_DIR)/controllers/trigger/rpm_calculator.cpp \
|
$(PROJECT_DIR)/controllers/trigger/rpm_calculator.cpp \
|
||||||
$(PROJECT_DIR)/controllers/trigger/trigger_central.cpp \
|
$(PROJECT_DIR)/controllers/trigger/trigger_central.cpp \
|
||||||
$(PROJECT_DIR)/controllers/trigger/spark_logic.cpp \
|
$(PROJECT_DIR)/controllers/trigger/spark_logic.cpp \
|
||||||
$(PROJECT_DIR)/controllers/trigger/main_trigger_callback.cpp
|
$(PROJECT_DIR)/controllers/trigger/main_trigger_callback.cpp \
|
||||||
|
$(PROJECT_DIR)/controllers/trigger/aux_valves.cpp
|
||||||
|
|
|
@ -63,7 +63,7 @@ enable2ndByteCanID = false
|
||||||
|
|
||||||
; see PAGE_0_SIZE in C source code
|
; see PAGE_0_SIZE in C source code
|
||||||
; CONFIG_DEFINITION_START
|
; CONFIG_DEFINITION_START
|
||||||
; this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Fri Nov 24 15:40:28 EST 2017
|
; this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Sat Nov 25 21:44:37 EST 2017
|
||||||
|
|
||||||
pageSize = 20000
|
pageSize = 20000
|
||||||
page = 1
|
page = 1
|
||||||
|
@ -1076,6 +1076,34 @@ fileVersion = { 20161225 }
|
||||||
yBins = narrowToWideOxygen
|
yBins = narrowToWideOxygen
|
||||||
gauge = afr1Gauge
|
gauge = afr1Gauge
|
||||||
|
|
||||||
|
curve = fsioCurve1, "FSIO Curve #1"
|
||||||
|
columnLabel = "X", "Y"
|
||||||
|
xAxis = 0, 128, 10
|
||||||
|
yAxis = -5, 5, 10
|
||||||
|
xBins = fsioCurve1Bins
|
||||||
|
yBins = fsioCurve1
|
||||||
|
|
||||||
|
curve = fsioCurve2, "FSIO Curve #2"
|
||||||
|
columnLabel = "X", "Y"
|
||||||
|
xAxis = 0, 128, 10
|
||||||
|
yAxis = -5, 5, 10
|
||||||
|
xBins = fsioCurve2Bins
|
||||||
|
yBins = fsioCurve2
|
||||||
|
|
||||||
|
curve = fsioCurve3, "FSIO Curve #3"
|
||||||
|
columnLabel = "X", "Y"
|
||||||
|
xAxis = 0, 128, 10
|
||||||
|
yAxis = -5, 5, 10
|
||||||
|
xBins = fsioCurve3Bins
|
||||||
|
yBins = fsioCurve3
|
||||||
|
|
||||||
|
curve = fsioCurve4, "FSIO Curve #4"
|
||||||
|
columnLabel = "X", "Y"
|
||||||
|
xAxis = 0, 128, 10
|
||||||
|
yAxis = -5, 5, 10
|
||||||
|
xBins = fsioCurve4Bins
|
||||||
|
yBins = fsioCurve4
|
||||||
|
|
||||||
curve = mapAccelTaper, "Engine Load Acceleration Enrichment Taper"
|
curve = mapAccelTaper, "Engine Load Acceleration Enrichment Taper"
|
||||||
columnLabel = "Distance", "Multiplier"
|
columnLabel = "Distance", "Multiplier"
|
||||||
xAxis = 0, 128, 10
|
xAxis = 0, 128, 10
|
||||||
|
@ -1242,7 +1270,7 @@ fileVersion = { 20161225 }
|
||||||
yBins = tpsTpsAccelToRpmBins, TPSValue
|
yBins = tpsTpsAccelToRpmBins, TPSValue
|
||||||
zBins = tpsTpsAccelTable
|
zBins = tpsTpsAccelTable
|
||||||
|
|
||||||
|
|
||||||
table = fsioTable1Tbl, fsioTable1Map, "FSIO Table #1", 1
|
table = fsioTable1Tbl, fsioTable1Map, "FSIO Table #1", 1
|
||||||
xBins = fsioTable1RpmBins, RPMValue
|
xBins = fsioTable1RpmBins, RPMValue
|
||||||
yBins = fsioTable1LoadBins, engineLoad
|
yBins = fsioTable1LoadBins, engineLoad
|
||||||
|
@ -1700,6 +1728,10 @@ gaugeCategory = Fuel Data
|
||||||
subMenu = fsioTable3Tbl, "FSIO Table #3"
|
subMenu = fsioTable3Tbl, "FSIO Table #3"
|
||||||
subMenu = fsioTable4Tbl, "FSIO Table #4"
|
subMenu = fsioTable4Tbl, "FSIO Table #4"
|
||||||
subMenu = fsioFormulas, "FSIO Formulas"
|
subMenu = fsioFormulas, "FSIO Formulas"
|
||||||
|
subMenu = fsioCurve1, "FSIO Curve #1"
|
||||||
|
subMenu = fsioCurve2, "FSIO Curve #2"
|
||||||
|
subMenu = fsioCurve3, "FSIO Curve #3"
|
||||||
|
subMenu = fsioCurve4, "FSIO Curve #4"
|
||||||
subMenu = std_separator
|
subMenu = std_separator
|
||||||
subMenu = connection, "Connection"
|
subMenu = connection, "Connection"
|
||||||
subMenu = joystickPanel, "Joystick"
|
subMenu = joystickPanel, "Joystick"
|
||||||
|
|
|
@ -296,6 +296,34 @@ fileVersion = { 20161225 }
|
||||||
yBins = narrowToWideOxygen
|
yBins = narrowToWideOxygen
|
||||||
gauge = afr1Gauge
|
gauge = afr1Gauge
|
||||||
|
|
||||||
|
curve = fsioCurve1, "FSIO Curve #1"
|
||||||
|
columnLabel = "X", "Y"
|
||||||
|
xAxis = 0, 128, 10
|
||||||
|
yAxis = -5, 5, 10
|
||||||
|
xBins = fsioCurve1Bins
|
||||||
|
yBins = fsioCurve1
|
||||||
|
|
||||||
|
curve = fsioCurve2, "FSIO Curve #2"
|
||||||
|
columnLabel = "X", "Y"
|
||||||
|
xAxis = 0, 128, 10
|
||||||
|
yAxis = -5, 5, 10
|
||||||
|
xBins = fsioCurve2Bins
|
||||||
|
yBins = fsioCurve2
|
||||||
|
|
||||||
|
curve = fsioCurve3, "FSIO Curve #3"
|
||||||
|
columnLabel = "X", "Y"
|
||||||
|
xAxis = 0, 128, 10
|
||||||
|
yAxis = -5, 5, 10
|
||||||
|
xBins = fsioCurve3Bins
|
||||||
|
yBins = fsioCurve3
|
||||||
|
|
||||||
|
curve = fsioCurve4, "FSIO Curve #4"
|
||||||
|
columnLabel = "X", "Y"
|
||||||
|
xAxis = 0, 128, 10
|
||||||
|
yAxis = -5, 5, 10
|
||||||
|
xBins = fsioCurve4Bins
|
||||||
|
yBins = fsioCurve4
|
||||||
|
|
||||||
curve = mapAccelTaper, "Engine Load Acceleration Enrichment Taper"
|
curve = mapAccelTaper, "Engine Load Acceleration Enrichment Taper"
|
||||||
columnLabel = "Distance", "Multiplier"
|
columnLabel = "Distance", "Multiplier"
|
||||||
xAxis = 0, 128, 10
|
xAxis = 0, 128, 10
|
||||||
|
@ -462,7 +490,7 @@ fileVersion = { 20161225 }
|
||||||
yBins = tpsTpsAccelToRpmBins, TPSValue
|
yBins = tpsTpsAccelToRpmBins, TPSValue
|
||||||
zBins = tpsTpsAccelTable
|
zBins = tpsTpsAccelTable
|
||||||
|
|
||||||
|
|
||||||
table = fsioTable1Tbl, fsioTable1Map, "FSIO Table #1", 1
|
table = fsioTable1Tbl, fsioTable1Map, "FSIO Table #1", 1
|
||||||
xBins = fsioTable1RpmBins, RPMValue
|
xBins = fsioTable1RpmBins, RPMValue
|
||||||
yBins = fsioTable1LoadBins, engineLoad
|
yBins = fsioTable1LoadBins, engineLoad
|
||||||
|
@ -920,6 +948,10 @@ gaugeCategory = Fuel Data
|
||||||
subMenu = fsioTable3Tbl, "FSIO Table #3"
|
subMenu = fsioTable3Tbl, "FSIO Table #3"
|
||||||
subMenu = fsioTable4Tbl, "FSIO Table #4"
|
subMenu = fsioTable4Tbl, "FSIO Table #4"
|
||||||
subMenu = fsioFormulas, "FSIO Formulas"
|
subMenu = fsioFormulas, "FSIO Formulas"
|
||||||
|
subMenu = fsioCurve1, "FSIO Curve #1"
|
||||||
|
subMenu = fsioCurve2, "FSIO Curve #2"
|
||||||
|
subMenu = fsioCurve3, "FSIO Curve #3"
|
||||||
|
subMenu = fsioCurve4, "FSIO Curve #4"
|
||||||
subMenu = std_separator
|
subMenu = std_separator
|
||||||
subMenu = connection, "Connection"
|
subMenu = connection, "Connection"
|
||||||
subMenu = joystickPanel, "Joystick"
|
subMenu = joystickPanel, "Joystick"
|
||||||
|
|
|
@ -105,10 +105,7 @@ CPPSRC = $(UTILSRC_CPP) \
|
||||||
$(TEST_SRC_CPP) \
|
$(TEST_SRC_CPP) \
|
||||||
$(SYSTEMSRC_CPP) \
|
$(SYSTEMSRC_CPP) \
|
||||||
$(PROJECT_DIR)/controllers/error_handling.cpp \
|
$(PROJECT_DIR)/controllers/error_handling.cpp \
|
||||||
$(PROJECT_DIR)/controllers/trigger/trigger_central.cpp \
|
$(TRIGGER_SRC_CPP) \
|
||||||
$(PROJECT_DIR)/controllers/trigger/rpm_calculator.cpp \
|
|
||||||
$(PROJECT_DIR)/controllers/trigger/spark_logic.cpp \
|
|
||||||
$(PROJECT_DIR)/controllers/trigger/main_trigger_callback.cpp \
|
|
||||||
main.cpp
|
main.cpp
|
||||||
|
|
||||||
# C sources to be compiled in ARM mode regardless of the global setting.
|
# C sources to be compiled in ARM mode regardless of the global setting.
|
||||||
|
|
Loading…
Reference in New Issue