From 218e786aa471c381bd2a8c4b2c83cc74f2c70675 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Wed, 8 Jan 2025 18:35:46 -0800 Subject: [PATCH] dead code --- firmware/config/engines/custom_engine.cpp | 4 ---- firmware/controllers/sensors/thermistors.cpp | 5 ----- firmware/controllers/sensors/thermistors.h | 1 - 3 files changed, 10 deletions(-) diff --git a/firmware/config/engines/custom_engine.cpp b/firmware/config/engines/custom_engine.cpp index 4c81d49245..d3af17fa7f 100644 --- a/firmware/config/engines/custom_engine.cpp +++ b/firmware/config/engines/custom_engine.cpp @@ -198,10 +198,6 @@ void setEtbTestConfiguration() { // no analog dividers - all sensors with 3v supply, naked discovery bench setup engineConfiguration->analogInputDividerCoefficient = 1; - // EFI_ADC_15 = PC5 - engineConfiguration->clt.adcChannel = EFI_ADC_15; - set10K_4050K(&engineConfiguration->clt, 10000); - // see also setDefaultEtbBiasCurve } diff --git a/firmware/controllers/sensors/thermistors.cpp b/firmware/controllers/sensors/thermistors.cpp index d4afad4904..949aee1453 100644 --- a/firmware/controllers/sensors/thermistors.cpp +++ b/firmware/controllers/sensors/thermistors.cpp @@ -45,8 +45,3 @@ void setCommonNTCSensor(ThermistorConf *thermistorConf, float pullup) { void setGmCltSensor(ThermistorConf *thermistorConf, float pullup) { thermistorConf->config = {-40, 40, 130, 100'000, 1459, 70, pullup}; } - -void set10K_4050K(ThermistorConf *thermistorConf, float pullup) { - // see https://www.taydaelectronics.com/datasheets/A-409.pdf - thermistorConf->config = {-30, 25, 130, 108000, 10000, 225, pullup}; -} diff --git a/firmware/controllers/sensors/thermistors.h b/firmware/controllers/sensors/thermistors.h index c5d266b3f4..b3ef26d219 100644 --- a/firmware/controllers/sensors/thermistors.h +++ b/firmware/controllers/sensors/thermistors.h @@ -23,5 +23,4 @@ void setAtSensor(ThermistorConf *thermistorConf, void setCommonNTCSensor(ThermistorConf *thermistorConf, float pullup); void setGmCltSensor(ThermistorConf *thermistorConf, float pullup); void setDodgeSensor(ThermistorConf *thermistorConf, float pullup); -void set10K_4050K(ThermistorConf *thermistorConf, float pullup);