206 {
210
214
216 if (tpsSecondaryMaximum < 20) {
217
218 tpsSecondaryMaximum = 20;
219 }
220
221
222#if EFI_SENT_SUPPORT
225 } else
226#endif
227 {
231 );
232 }
233
237 );
238
240 if (ppsSecondaryMaximum < 20) {
241
242 ppsSecondaryMaximum = 20;
243 }
244
245
250 );
253 if (!arg) {
254 return arg;
255 }
259 return result;
260 });
262
263
266 }
267
268
271 } else {
273 }
274
276}
void setSmoothingFactor(float p_smoothingFactor)
float initOrAverage(float value)
void setConverter(functionFunctionPtr p_converter)
void setProxiedSensor(SensorType proxiedSensor)
static constexpr engine_configuration_s * engineConfiguration
static ProxySensor ppsFilterSensor(SensorType::AcceleratorPedal)
static ProxySensor driverIntent(SensorType::DriverThrottleIntent)
expected< float > SensorResult
@ AcceleratorPedalUnfiltered
adc_channel_e tps1_1AdcChannel
adc_channel_e tps2_2AdcChannel
adc_channel_e idlePositionChannel
float throttlePedalUpVoltage
adc_channel_e throttlePedalPositionSecondAdcChannel
tps_limit_t tps1SecondaryMax
int16_t tpsErrorDetectionTooLow
float wastegatePositionOpenedVoltage
scaled_channel< uint8_t, 2, 1 > tpsSecondaryMaximum
uint16_t tps2SecondaryMax
adc_channel_e tps1_2AdcChannel
float throttlePedalSecondaryWOTVoltage
float throttlePedalSecondaryUpVoltage
float wastegatePositionClosedVoltage
float throttlePedalWOTVoltage
tps_limit_t tps1SecondaryMin
adc_channel_e tps2_1AdcChannel
uint16_t tps2SecondaryMin
adc_channel_e wastegatePositionSensor
int16_t tpsErrorDetectionTooHigh
adc_channel_e throttlePedalPositionAdcChannel
scaled_channel< uint8_t, 2, 1 > ppsSecondaryMaximum