Skip to content

Commit

Permalink
Removing debugging Spotvalue abuse
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-evnut committed Jan 8, 2025
1 parent 37a7415 commit 37bccbd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/stm32_vcu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down
4 changes: 0 additions & 4 deletions src/throttle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{

Expand Down Expand Up @@ -414,7 +412,6 @@ void Throttle::UdcLimitCommand(float& finalSpnt, float udc)
}
finalSpnt = UDCprevspnt;
}
Param::SetFloat(Param::tmpheater, UDCprevspnt);
}
else
{
Expand All @@ -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;
Expand Down

0 comments on commit 37bccbd

Please sign in to comment.