From d1b5a51400e8527bc9d1f3357aad21605fc47fad Mon Sep 17 00:00:00 2001 From: rusefi Date: Sat, 28 Mar 2020 20:56:58 -0400 Subject: [PATCH] progress --- firmware/controllers/actuators/electronic_throttle.cpp | 2 +- firmware/hw_layer/microsecond_timer.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/controllers/actuators/electronic_throttle.cpp b/firmware/controllers/actuators/electronic_throttle.cpp index 09384a4a14..dfd1da8b37 100644 --- a/firmware/controllers/actuators/electronic_throttle.cpp +++ b/firmware/controllers/actuators/electronic_throttle.cpp @@ -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, diff --git a/firmware/hw_layer/microsecond_timer.cpp b/firmware/hw_layer/microsecond_timer.cpp index 2d8db0d587..c00d583609 100644 --- a/firmware/hw_layer/microsecond_timer.cpp +++ b/firmware/hw_layer/microsecond_timer.cpp @@ -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