From 36d40489ee9297b8238daf7581c7073a62ba026c Mon Sep 17 00:00:00 2001 From: rusefillc Date: Sat, 30 Jul 2022 16:07:40 -0400 Subject: [PATCH] dead initial value? --- firmware/controllers/math/speed_density.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/controllers/math/speed_density.cpp b/firmware/controllers/math/speed_density.cpp index 432886cbc6..6065f2e94d 100644 --- a/firmware/controllers/math/speed_density.cpp +++ b/firmware/controllers/math/speed_density.cpp @@ -71,7 +71,7 @@ temperature_t getTCharge(int rpm, float tps) { const auto clt = Sensor::get(SensorType::Clt); const auto iat = Sensor::get(SensorType::Iat); - float airTemp = 0; + float airTemp; // Without either valid, return 0C. It's wrong, but it'll pretend to be nice and dense, so at least you won't go lean. if (!iat && !clt) {