mirror of https://github.com/rusefi/rusefi.git
blend result returns blend parameter value for TS UI
This commit is contained in:
parent
6656c2ae88
commit
a2eef06a7e
|
@ -450,7 +450,7 @@ void setFlatInjectorLag(float value) {
|
||||||
BlendResult calculateBlend(blend_table_s& cfg, float rpm, float load) {
|
BlendResult calculateBlend(blend_table_s& cfg, float rpm, float load) {
|
||||||
// If set to 0, skip the math as its disabled
|
// If set to 0, skip the math as its disabled
|
||||||
if (cfg.blendParameter == GPPWM_Zero) {
|
if (cfg.blendParameter == GPPWM_Zero) {
|
||||||
return { 0, 0 };
|
return { 0, 0, 0 };
|
||||||
}
|
}
|
||||||
|
|
||||||
auto value = readGppwmChannel(cfg.blendParameter);
|
auto value = readGppwmChannel(cfg.blendParameter);
|
||||||
|
|
Loading…
Reference in New Issue