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:
rusefillc 2022-06-29 03:33:06 -04:00
parent 9c9cf69ebe
commit 6c76a6468c
1 changed files with 2 additions and 2 deletions

View File

@ -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;