auto-sync
This commit is contained in:
parent
b4c3d7cfdc
commit
5ea8f5d85b
|
@ -38,7 +38,7 @@ typedef struct {
|
|||
float vBatt; // size 4, offset 28
|
||||
short int tpsADC; // size 2, offset 32
|
||||
short int alignment; // size 2, offset 34
|
||||
float atmospherePressure; // size 4, offset 36
|
||||
float baroPressure; // size 4, offset 36
|
||||
float manifold_air_pressure; // size 4, offset 40
|
||||
float crankingFuelMs;
|
||||
/**
|
||||
|
@ -89,7 +89,8 @@ typedef struct {
|
|||
int triggerErrorsCounter;
|
||||
float currentMapAccelDelta;
|
||||
float tpsAccelFuel;
|
||||
int unused3[16];
|
||||
float baroCorrection;
|
||||
int unused3[15];
|
||||
} TunerStudioOutputChannels;
|
||||
|
||||
#endif /* TUNERSTUDIO_CONFIGURATION_H_ */
|
||||
|
|
|
@ -390,6 +390,8 @@ static void showFuelInfo2(float rpm, float engineLoad) {
|
|||
|
||||
scheduleMsg(&logger2, "phase=%f correction=%f", getInjectionAngle(rpm), engineConfiguration->globalFuelCorrection);
|
||||
|
||||
scheduleMsg(&logger2, "baro correction=%f", engine->engineState.baroCorrection);
|
||||
|
||||
#if EFI_ENGINE_CONTROL
|
||||
scheduleMsg(&logger, "base cranking fuel %f", engineConfiguration->cranking.baseFuel);
|
||||
scheduleMsg(&logger2, "cranking fuel: %f", getCrankingFuel(PASS_ENGINE_PARAMETER_F));
|
||||
|
@ -559,7 +561,7 @@ void updateTunerStudioState(TunerStudioOutputChannels *tsOutputChannels DECLARE_
|
|||
tsOutputChannels->vBatt = getVBatt(engineConfiguration);
|
||||
tsOutputChannels->tpsADC = getTPS10bitAdc(PASS_ENGINE_PARAMETER_F);
|
||||
#if EFI_ANALOG_SENSORS || defined(__DOXYGEN__)
|
||||
tsOutputChannels->atmospherePressure = getBaroPressure();
|
||||
tsOutputChannels->baroPressure = getBaroPressure();
|
||||
#endif /* EFI_ANALOG_SENSORS */
|
||||
tsOutputChannels->manifold_air_pressure = getMap();
|
||||
tsOutputChannels->engineLoad = engineLoad;
|
||||
|
@ -568,6 +570,7 @@ void updateTunerStudioState(TunerStudioOutputChannels *tsOutputChannels DECLARE_
|
|||
tsOutputChannels->tpsAccelFuel = engine->tpsAccelEnrichment.getTpsEnrichment(PASS_ENGINE_PARAMETER_F);
|
||||
tsOutputChannels->deltaTps = engine->tpsAccelEnrichment.getDelta();
|
||||
tsOutputChannels->triggerErrorsCounter = triggerCentral.triggerState.totalTriggerErrorCounter;
|
||||
tsOutputChannels->baroCorrection = engine->engineState.baroCorrection;
|
||||
|
||||
tsOutputChannels->checkEngine = hasErrorCodes();
|
||||
#if EFI_PROD_CODE || defined(__DOXYGEN__)
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#include "engine_configuration.h"
|
||||
#include "engine.h"
|
||||
|
||||
#define FLASH_DATA_VERSION 8000
|
||||
#define FLASH_DATA_VERSION 8050
|
||||
|
||||
void readFromFlash(void);
|
||||
void initFlash(Logging *sharedLogger, Engine *engine);
|
||||
|
|
|
@ -519,8 +519,8 @@ float noAccelAfterHardLimitPeriodSecs;;"sec", 1, 0, 0, 60,
|
|||
|
||||
int mapAveragingSchedulingAtIndex;
|
||||
|
||||
float[BARO_CORR_SIZE] baroCorrPressureBins;
|
||||
float[BARO_CORR_SIZE] baroCorrRpmBins;
|
||||
float[BARO_CORR_SIZE] baroCorrPressureBins;;"kPa", 1, 0, 0.0, 200, 2
|
||||
float[BARO_CORR_SIZE] baroCorrRpmBins;;"RPM", 1, 0, 0.0, 18000, 2
|
||||
|
||||
baro_corr_table_t baroCorrTable;
|
||||
int[109] unused3;
|
||||
|
|
|
@ -290,5 +290,5 @@ int getRusEfiVersion(void) {
|
|||
return 123; // this is here to make the compiler happy about the unused array
|
||||
if (UNUSED_CCM_SIZE[0] * 0 != 0)
|
||||
return 3211; // this is here to make the compiler happy about the unused array
|
||||
return 20150510;
|
||||
return 20150512;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue