rusefillc 2021-10-04 18:43:37 -04:00
parent 7910c32893
commit 4901a69d17
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
}