progress
This commit is contained in:
parent
6f788e7e4d
commit
d1b5a51400
|
@ -584,7 +584,7 @@ void doInitElectronicThrottle(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
|||
percent_t startupThrottlePosition = getTPS(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||
if (absF(startupThrottlePosition - engineConfiguration->etbNeutralPosition) > STARTUP_NEUTRAL_POSITION_ERROR_THRESHOLD) {
|
||||
/**
|
||||
* Unexpected electronic throttle start-up position is worth a fatal error
|
||||
* Unexpected electronic throttle start-up position is worth a critical error
|
||||
*/
|
||||
firmwareError(OBD_Throttle_Actuator_Control_Range_Performance_Bank_1, "startup ETB position %.2f not %d",
|
||||
startupThrottlePosition,
|
||||
|
|
|
@ -29,7 +29,7 @@ EXTERN_ENGINE;
|
|||
// conversions between wall clock and hardware frequencies are done right
|
||||
// delay in milliseconds
|
||||
#define TEST_CALLBACK_DELAY 30
|
||||
// if hardware timer is 20% off we throw a fatal error and call it a day
|
||||
// if hardware timer is 20% off we throw a critical error and call it a day
|
||||
// maybe this threshold should be 5%? 10%?
|
||||
#define TIMER_PRECISION_THRESHOLD 0.2
|
||||
|
||||
|
|
Loading…
Reference in New Issue