From a2eef06a7eb0a5b3fe62881608ec9068720ab13b Mon Sep 17 00:00:00 2001 From: Andrey Date: Sun, 30 Apr 2023 02:01:00 -0400 Subject: [PATCH] blend result returns blend parameter value for TS UI --- firmware/controllers/math/engine_math.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/controllers/math/engine_math.cpp b/firmware/controllers/math/engine_math.cpp index d7741c7ee2..ec2fef86b5 100644 --- a/firmware/controllers/math/engine_math.cpp +++ b/firmware/controllers/math/engine_math.cpp @@ -450,7 +450,7 @@ void setFlatInjectorLag(float value) { BlendResult calculateBlend(blend_table_s& cfg, float rpm, float load) { // If set to 0, skip the math as its disabled if (cfg.blendParameter == GPPWM_Zero) { - return { 0, 0 }; + return { 0, 0, 0 }; } auto value = readGppwmChannel(cfg.blendParameter);