mirror of https://github.com/rusefi/rusefi-1.git
auto-sync
This commit is contained in:
parent
90fd482b96
commit
43c2f68ebf
|
@ -521,7 +521,7 @@ static THD_WORKING_AREA(tsThreadStack, UTILITY_THREAD_STACK_SIZE);
|
||||||
|
|
||||||
#if EFI_TUNER_STUDIO
|
#if EFI_TUNER_STUDIO
|
||||||
|
|
||||||
extern Map3D1616 veMap;
|
extern fuel_Map3D_t veMap;
|
||||||
|
|
||||||
void updateTunerStudioState(TunerStudioOutputChannels *tsOutputChannels DECLARE_ENGINE_PARAMETER_S) {
|
void updateTunerStudioState(TunerStudioOutputChannels *tsOutputChannels DECLARE_ENGINE_PARAMETER_S) {
|
||||||
#if EFI_SHAFT_POSITION_INPUT || defined(__DOXYGEN__)
|
#if EFI_SHAFT_POSITION_INPUT || defined(__DOXYGEN__)
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
EXTERN_ENGINE;
|
EXTERN_ENGINE;
|
||||||
|
|
||||||
static Map3D1616 advanceMap;
|
static ign_Map3D_t advanceMap;
|
||||||
|
|
||||||
float getBaseAdvance(int rpm, float engineLoad DECLARE_ENGINE_PARAMETER_S) {
|
float getBaseAdvance(int rpm, float engineLoad DECLARE_ENGINE_PARAMETER_S) {
|
||||||
if (cisnan(engineLoad)) {
|
if (cisnan(engineLoad)) {
|
||||||
|
|
|
@ -44,10 +44,10 @@
|
||||||
EXTERN_ENGINE
|
EXTERN_ENGINE
|
||||||
;
|
;
|
||||||
|
|
||||||
static Map3D1616 fuelMap;
|
static fuel_Map3D_t fuelMap;
|
||||||
static Map3D1616 fuelPhaseMap;
|
static fuel_Map3D_t fuelPhaseMap;
|
||||||
extern Map3D1616 ve2Map;
|
extern fuel_Map3D_t ve2Map;
|
||||||
extern Map3D1616 afrMap;
|
extern fuel_Map3D_t afrMap;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return total duration of fuel injection per engine cycle, in milliseconds
|
* @return total duration of fuel injection per engine cycle, in milliseconds
|
||||||
|
|
|
@ -100,7 +100,8 @@ void Map3D<RPM_BIN_SIZE, LOAD_BIN_SIZE>::setAll(float value) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef Map3D<16, 16> Map3D1616;
|
typedef Map3D<IGN_RPM_COUNT, IGN_LOAD_COUNT> ign_Map3D_t;
|
||||||
|
typedef Map3D<FUEL_RPM_COUNT, FUEL_LOAD_COUNT> fuel_Map3D_t;
|
||||||
|
|
||||||
void setTableBin(float array[], int size, float l, float r);
|
void setTableBin(float array[], int size, float l, float r);
|
||||||
void setTableBin2(float array[], int size, float l, float r, float precision);
|
void setTableBin2(float array[], int size, float l, float r, float precision);
|
||||||
|
|
|
@ -22,9 +22,9 @@
|
||||||
#define rpmMin 500
|
#define rpmMin 500
|
||||||
#define rpmMax 8000
|
#define rpmMax 8000
|
||||||
|
|
||||||
Map3D1616 veMap;
|
fuel_Map3D_t veMap;
|
||||||
Map3D1616 ve2Map;
|
fuel_Map3D_t ve2Map;
|
||||||
Map3D1616 afrMap;
|
fuel_Map3D_t afrMap;
|
||||||
|
|
||||||
#define tpMin 0
|
#define tpMin 0
|
||||||
#define tpMax 100
|
#define tpMax 100
|
||||||
|
|
|
@ -276,5 +276,5 @@ int getRusEfiVersion(void) {
|
||||||
return 1; // this is here to make the compiler happy about the unused array
|
return 1; // this is here to make the compiler happy about the unused array
|
||||||
if (UNUSED_CCM_SIZE[0] == 0)
|
if (UNUSED_CCM_SIZE[0] == 0)
|
||||||
return 1; // this is here to make the compiler happy about the unused array
|
return 1; // this is here to make the compiler happy about the unused array
|
||||||
return 20150304;
|
return 20150306;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue