auto-sync

This commit is contained in:
rusEfi 2015-03-06 12:04:53 -06:00
parent 90fd482b96
commit 43c2f68ebf
6 changed files with 12 additions and 11 deletions

View File

@ -521,7 +521,7 @@ static THD_WORKING_AREA(tsThreadStack, UTILITY_THREAD_STACK_SIZE);
#if EFI_TUNER_STUDIO
extern Map3D1616 veMap;
extern fuel_Map3D_t veMap;
void updateTunerStudioState(TunerStudioOutputChannels *tsOutputChannels DECLARE_ENGINE_PARAMETER_S) {
#if EFI_SHAFT_POSITION_INPUT || defined(__DOXYGEN__)

View File

@ -27,7 +27,7 @@
EXTERN_ENGINE;
static Map3D1616 advanceMap;
static ign_Map3D_t advanceMap;
float getBaseAdvance(int rpm, float engineLoad DECLARE_ENGINE_PARAMETER_S) {
if (cisnan(engineLoad)) {

View File

@ -44,10 +44,10 @@
EXTERN_ENGINE
;
static Map3D1616 fuelMap;
static Map3D1616 fuelPhaseMap;
extern Map3D1616 ve2Map;
extern Map3D1616 afrMap;
static fuel_Map3D_t fuelMap;
static fuel_Map3D_t fuelPhaseMap;
extern fuel_Map3D_t ve2Map;
extern fuel_Map3D_t afrMap;
/**
* @return total duration of fuel injection per engine cycle, in milliseconds

View File

@ -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 setTableBin2(float array[], int size, float l, float r, float precision);

View File

@ -22,9 +22,9 @@
#define rpmMin 500
#define rpmMax 8000
Map3D1616 veMap;
Map3D1616 ve2Map;
Map3D1616 afrMap;
fuel_Map3D_t veMap;
fuel_Map3D_t ve2Map;
fuel_Map3D_t afrMap;
#define tpMin 0
#define tpMax 100

View File

@ -276,5 +276,5 @@ int getRusEfiVersion(void) {
return 1; // this is here to make the compiler happy about the unused array
if (UNUSED_CCM_SIZE[0] == 0)
return 1; // this is here to make the compiler happy about the unused array
return 20150304;
return 20150306;
}