diff --git a/src/stm32_vcu.cpp b/src/stm32_vcu.cpp index 761f180..bfe0f94 100644 --- a/src/stm32_vcu.cpp +++ b/src/stm32_vcu.cpp @@ -553,7 +553,6 @@ static void Ms10Task(void) if(Param::GetInt(Param::potnom) < Param::GetInt(Param::RegenBrakeLight)) { - Param::SetInt(Param::BrkVacVal,torquePercent*requestedDirection*-1); //enable Brake Light Ouput IOMatrix::GetPin(IOMatrix::BRAKELIGHT)->Set(); } diff --git a/src/throttle.cpp b/src/throttle.cpp index 540095d..e62098f 100644 --- a/src/throttle.cpp +++ b/src/throttle.cpp @@ -367,8 +367,6 @@ void Throttle::UdcLimitCommand(float& finalSpnt, float udc) if(udcmin>0) //ignore if set to zero. useful for bench testing without isa shunt { - Param::SetFloat(Param::udcheater, finalSpnt); - if (finalSpnt >= 0) { @@ -414,7 +412,6 @@ void Throttle::UdcLimitCommand(float& finalSpnt, float udc) } finalSpnt = UDCprevspnt; } - Param::SetFloat(Param::tmpheater, UDCprevspnt); } else { @@ -434,7 +431,6 @@ void Throttle::IdcLimitCommand(float& finalSpnt, float idc) if(idcmax>0) //ignore if set to zero. useful for bench testing without isa shunt { - Param::SetFloat(Param::powerheater, finalSpnt); if (finalSpnt >= 0) { float idcerr = idcmax - idcFiltered;