auto-sync

This commit is contained in:
rusEfi 2015-02-19 20:04:36 -06:00
parent cc2d936d50
commit 33f0335c00
4 changed files with 18 additions and 6 deletions

View File

@ -546,7 +546,7 @@ void updateTunerStudioState(Engine *engine, TunerStudioOutputChannels *tsOutputC
tsOutputChannels->throttlePositon = tps;
tsOutputChannels->massAirFlowVoltage = getMaf();
tsOutputChannels->massAirFlowValue = getRealMaf();
tsOutputChannels->massAirFlowValue = veMap.getValue(getMap(), rpm);
tsOutputChannels->veValue = veMap.getValue(getMap(), rpm);
tsOutputChannels->airFuelRatio = getAfr();
tsOutputChannels->v_batt = getVBatt(engineConfiguration);
tsOutputChannels->tpsADC = getTPS10bitAdc(PASS_ENGINE_PARAMETER_F);

View File

@ -83,7 +83,9 @@ typedef struct {
float rpmAcceleration;
float massAirFlowValue;
float veValue;
int unused3[20];
float maxDelta;
float minDelta;
int unused3[18];
} TunerStudioOutputChannels;
#endif /* TUNERSTUDIO_CONFIGURATION_H_ */

View File

@ -1,4 +1,4 @@
// this section was generated by config_definition.jar on Tue Feb 17 16:44:47 EST 2015
// this section was generated by config_definition.jar on Thu Feb 19 20:24:50 EST 2015
// begin
#include "rusefi_types.h"
typedef struct {
@ -1068,7 +1068,15 @@ typedef struct {
/**
* offset 5204
*/
int unused3[147];
int unused3[145];
/**
* offset 5784
*/
float deaccelEnrichmentThreshold;
/**
* offset 5788
*/
float deaccelEnrichmentMultiplier;
/**
* offset 5792
*/
@ -1172,4 +1180,4 @@ typedef struct {
} engine_configuration_s;
// end
// this section was generated by config_definition.jar on Tue Feb 17 16:44:47 EST 2015
// this section was generated by config_definition.jar on Thu Feb 19 20:24:50 EST 2015

View File

@ -469,8 +469,10 @@ bit hasMapSensor;@see isMapAveragingEnabled
custom pin_input_mode_e 4 scalar, F32, @OFFSET@, "ms", 1, 0, 0, 200, 1
pin_input_mode_e[LE_COMMAND_COUNT iterate] fsioInputModes;
int[147] unused3;
int[145] unused3;
float deaccelEnrichmentThreshold;;"roc", 1, 0, 0, 200, 3
float deaccelEnrichmentMultiplier;;"coeff", 1, 0, 0, 200, 3
float accelEnrichmentThreshold;;"roc", 1, 0, 0, 200, 3
float accelEnrichmentMultiplier;;"coeff", 1, 0, 0, 200, 3