From fcebccd2c47adbf22fdd2410c520a3b1dfe4d179 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Mon, 12 Jun 2023 19:32:49 -0400 Subject: [PATCH] only:named parameters --- firmware/controllers/sensors/thermistors.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/firmware/controllers/sensors/thermistors.cpp b/firmware/controllers/sensors/thermistors.cpp index ed05731314..291319087c 100644 --- a/firmware/controllers/sensors/thermistors.cpp +++ b/firmware/controllers/sensors/thermistors.cpp @@ -38,7 +38,8 @@ void setCommonNTCSensor(ThermistorConf *thermistorConf, float pullup) { * 294 Ohm @ 80C * http://www.rexbo.eu/hella/coolant-temperature-sensor-6pt009107121?c=100334&at=3130 */ - thermistorConf->config = {-20, 23.8889, 120, 18000, 2100, 100, pullup}; + thermistorConf->config = {/*temp*/-20, /*temp*/23.8889, /*temp*/120, + /*resistance*/18000, /*resistance*/2100, /*resistance*/100, pullup}; } void set10K_4050K(ThermistorConf *thermistorConf, float pullup) {