From 8bb471c8a7a98e3fb24683f6fc0c690b3401d7c6 Mon Sep 17 00:00:00 2001 From: Andrey Gusakov Date: Fri, 4 Nov 2022 00:17:35 +0300 Subject: [PATCH] ETB: typo? --- .../controllers/actuators/electronic_throttle.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/firmware/controllers/actuators/electronic_throttle.cpp b/firmware/controllers/actuators/electronic_throttle.cpp index 4186319508..8715c7ee56 100644 --- a/firmware/controllers/actuators/electronic_throttle.cpp +++ b/firmware/controllers/actuators/electronic_throttle.cpp @@ -714,7 +714,7 @@ static EtbThread etbThread CCM_OPTIONAL; #endif -static void showEthInfo() { +static void showEtbInfo() { #if EFI_PROD_CODE efiPrintf("etbAutoTune=%d", engine->etbAutoTune); @@ -797,7 +797,7 @@ static void etbReset() { void setEtbPFactor(float value) { engineConfiguration->etb.pFactor = value; etbPidReset(); - showEthInfo(); + showEtbInfo(); } /** @@ -806,7 +806,7 @@ void setEtbPFactor(float value) { void setEtbIFactor(float value) { engineConfiguration->etb.iFactor = value; etbPidReset(); - showEthInfo(); + showEtbInfo(); } /** @@ -815,7 +815,7 @@ void setEtbIFactor(float value) { void setEtbDFactor(float value) { engineConfiguration->etb.dFactor = value; etbPidReset(); - showEthInfo(); + showEtbInfo(); } /** @@ -824,7 +824,7 @@ void setEtbDFactor(float value) { void setEtbOffset(int value) { engineConfiguration->etb.offset = value; etbPidReset(); - showEthInfo(); + showEtbInfo(); } void etbAutocal(size_t throttleIndex) { @@ -1016,7 +1016,7 @@ void initElectronicThrottle() { #endif #if EFI_PROD_CODE - addConsoleAction("ethinfo", showEthInfo); + addConsoleAction("etbinfo", showEtbInfo); addConsoleAction("etbreset", etbReset); addConsoleActionI("etb_freq", setEtbFrequency);