sperry picking to make matters green
This commit is contained in:
parent
37c60a3267
commit
91acff8ff8
|
@ -128,6 +128,9 @@ expected<float> ThrottleModelBase::estimateThrottleFlow(float map, float tps) {
|
|||
return estimateThrottleFlow(tip.Value, tps, map, iat.Value);
|
||||
}
|
||||
|
||||
void ThrottleModelBase::onSlowCallback() {
|
||||
}
|
||||
|
||||
float ThrottleModel::effectiveArea(float tps) const {
|
||||
return interpolate2d(tps, config->throttleEstimateEffectiveAreaBins, config->throttleEstimateEffectiveAreaValues);
|
||||
}
|
||||
|
|
|
@ -2,8 +2,10 @@
|
|||
|
||||
#include "throttle_model_generated.h"
|
||||
|
||||
struct ThrottleModelBase : public throttle_model_s {
|
||||
struct ThrottleModelBase : public throttle_model_s, public EngineModule {
|
||||
public:
|
||||
void onSlowCallback() override;
|
||||
|
||||
float estimateThrottleFlow(float tip, float tps, float map, float iat);
|
||||
expected<float> estimateThrottleFlow(float map, float tps);
|
||||
|
||||
|
|
Loading…
Reference in New Issue