Merge branch 'master' of https://github.com/rusefi/rusefi
This commit is contained in:
commit
4059e9b7df
|
@ -253,7 +253,7 @@ static void printSensors(Logging *log, bool fileFormat) {
|
|||
|
||||
reportSensorF(log, fileFormat, GAUGE_NAME_TCHARGE, "K", engine->engineState.tChargeK, 2); // log column #8
|
||||
if (hasMapSensor(PASS_ENGINE_PARAMETER_SIGNATURE)) {
|
||||
reportSensorF(log, fileFormat, GAUGE_NAME_FUEL_VR, "%", veMap.getValue(rpm, getMap()), 2);
|
||||
reportSensorF(log, fileFormat, GAUGE_NAME_FUEL_VR, "%", engine->engineState.currentVE * PERCENT_MULT, 2);
|
||||
}
|
||||
reportSensorF(log, fileFormat, GAUGE_NAME_VVT, "deg", engine->triggerCentral.vvtPosition, 1);
|
||||
}
|
||||
|
@ -696,7 +696,7 @@ void updateTunerStudioState(TunerStudioOutputChannels *tsOutputChannels DECLARE_
|
|||
|
||||
if (hasMapSensor(PASS_ENGINE_PARAMETER_SIGNATURE)) {
|
||||
float mapValue = getMap();
|
||||
tsOutputChannels->veValue = veMap.getValue(rpm, mapValue);
|
||||
tsOutputChannels->veValue = engine->engineState.currentVE * PERCENT_MULT;
|
||||
// todo: bug here? target afr could work based on real MAF?
|
||||
tsOutputChannels->currentTargetAfr = afrMap.getValue(rpm, mapValue);
|
||||
tsOutputChannels->manifoldAirPressure = mapValue;
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
// I believe that TunerStudio curve editor has a bug with F32 support
|
||||
// because of that bug we cannot have '1.05' for 5% extra multiplier
|
||||
#define PERCENT_MULT 100.0
|
||||
#define PERCENT_MULT 100.0f
|
||||
|
||||
typedef enum {
|
||||
CUSTOM_ENGINE = 0,
|
||||
|
|
Loading…
Reference in New Issue