Code: Select all
if (Param::GetBool(Param::din_brake) || !Param::GetBool(Param::din_forward))
{
Throttle::cruiseSpeed = -1;
}
I'm on firmware v5.32.R
How to fix this? How to enable cruise on Tesla motors?
Code: Select all
if (Param::GetBool(Param::din_brake) || !Param::GetBool(Param::din_forward))
{
Throttle::cruiseSpeed = -1;
}