When setting throttle ramp to a value different them 2 (Medium throttle), after sending the command to switch ON the controller, the mode is always returning to Medium.
This issue started only after new Boost option implementation in the RUN button.
Suspect that last_throttle_ramp should be set at the same time as Throttle_ramp in the decreaseValue() and increaseValue().
|
case Throttle_ramp: |
|
gVariables.Throttle_ramp = gVariables.Throttle_ramp < MAX_THROTTLE_RAMP ? |
|
(gVariables.Throttle_ramp + 1) : MIN_THROTTLE_RAMP; |
|
break; |
When setting throttle ramp to a value different them 2 (Medium throttle), after sending the command to switch ON the controller, the mode is always returning to Medium.
This issue started only after new Boost option implementation in the RUN button.
Suspect that last_throttle_ramp should be set at the same time as Throttle_ramp in the decreaseValue() and increaseValue().
LegStrong/misc/source/mode08.cpp
Lines 170 to 173 in 7a55baf