From 4901a69d170a153d54080fd4de9e2cef976d580c Mon Sep 17 00:00:00 2001 From: rusefillc Date: Mon, 4 Oct 2021 18:43:37 -0400 Subject: [PATCH] https://rusefi.com/forum/viewtopic.php?p=42468#p42468 --- firmware/controllers/actuators/electronic_throttle.cpp | 2 +- firmware/controllers/sensors/sensor.h | 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 d4518e9efe..0bd4709702 100644 --- a/firmware/controllers/actuators/electronic_throttle.cpp +++ b/firmware/controllers/actuators/electronic_throttle.cpp @@ -1009,7 +1009,7 @@ void initElectronicThrottle(DECLARE_ENGINE_PARAMETER_SIGNATURE) { void setEtbIdlePosition(percent_t pos DECLARE_ENGINE_PARAMETER_SUFFIX) { if (!Sensor::hasSensor(SensorType::AcceleratorPedal)) { - firmwareError(CUSTOM_NO_ETB_FOR_IDLE, "No ETB to use for idle"); + firmwareError(CUSTOM_NO_ETB_FOR_IDLE, "No PPS to use for idle"); return; } diff --git a/firmware/controllers/sensors/sensor.h b/firmware/controllers/sensors/sensor.h index 7333b410dd..29a9b7cb0c 100644 --- a/firmware/controllers/sensors/sensor.h +++ b/firmware/controllers/sensors/sensor.h @@ -141,7 +141,7 @@ public: // this should be field lookup and simple math. virtual SensorResult get() const = 0; - // Retrieve whether the sensor is present. Some sensors may be registered but not present, ie if inintialization failed. + // Retrieve whether the sensor is present. Some sensors may be registered but not present, i.e. if initialization failed. virtual bool hasSensor() const { return true; }