logging of live data structs was: data points #3614
would this be more correct in terms of multi-threaded reads?
This commit is contained in:
parent
9c9cf69ebe
commit
6c76a6468c
|
@ -367,12 +367,12 @@ percent_t EtbController2::getThrottleTrim(float /*rpm*/, percent_t /*targetPosit
|
|||
}
|
||||
|
||||
expected<percent_t> EtbController::getOpenLoop(percent_t target) {
|
||||
etbFeedForward = 0;
|
||||
|
||||
// Don't apply open loop for wastegate/idle valve, only real ETB
|
||||
if (m_function != ETB_Wastegate
|
||||
&& m_function != ETB_IdleValve) {
|
||||
etbFeedForward = interpolate2d(target, config->etbBiasBins, config->etbBiasValues);
|
||||
} else {
|
||||
etbFeedForward = 0;
|
||||
}
|
||||
|
||||
return etbFeedForward;
|
||||
|
|
Loading…
Reference in New Issue