etbStatus_error does the job (#4820)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
This commit is contained in:
parent
a047ebcd6f
commit
6c5c35a2e2
|
@ -110,7 +110,6 @@ uint16_t rpmAcceleration;dRPM;"RPM/s",1, 0, 0, 5, 2
|
|||
uint16_t autoscale idleAirValvePosition;@@GAUGE_NAME_IAC@@;"%",{1/@@PACK_MULT_PERCENT@@}, 0, 0, 0, 1
|
||||
int16_t autoscale etbTarget;ETB Target;"%",{1/@@PACK_MULT_PERCENT@@}, 0, 0, 0, 2
|
||||
int16_t autoscale etb1DutyCycle;@@GAUGE_NAME_ETB_DUTY@@;"%",{1/@@PACK_MULT_PERCENT@@}, 0, 0, 0, 1
|
||||
int16_t autoscale etb1Error;ETB Error;"%",{1/@@PACK_MULT_PERCENT@@}, 0, 0, 0, 3
|
||||
! Fuel system
|
||||
int16_t autoscale fuelTankLevel;Fuel level;"%",{1/@@PACK_MULT_PERCENT@@}, 0, 0, 0, 0
|
||||
|
||||
|
|
|
@ -512,14 +512,6 @@ expected<percent_t> EtbController::getClosedLoop(percent_t target, percent_t obs
|
|||
m_shouldResetPid = false;
|
||||
}
|
||||
|
||||
// Only report the 0th throttle
|
||||
if (m_function == ETB_Throttle1) {
|
||||
#if EFI_TUNER_STUDIO
|
||||
// Error is positive if the throttle needs to open further
|
||||
engine->outputChannels.etb1Error = target - observation;
|
||||
#endif /* EFI_TUNER_STUDIO */
|
||||
}
|
||||
|
||||
// Only allow autotune with stopped engine, and on the first throttle
|
||||
if (m_isAutotune) {
|
||||
return getClosedLoopAutotune(target, observation);
|
||||
|
|
Loading…
Reference in New Issue