Skip to content

Commit

Permalink
Spinback: fix infinite acceleration
Browse files Browse the repository at this point in the history
  • Loading branch information
ronso0 committed Mar 29, 2022
1 parent 597e23d commit 7fed042
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/controllers/controllerengine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1503,8 +1503,8 @@ void ControllerEngine::softTakeoverIgnoreNextValue(
Output: -
-------- ------------------------------------------------------ */
void ControllerEngine::spinback(int deck, bool activate, double factor, double rate) {
// defaults for args set in header file
brake(deck, activate, factor, rate);
qDebug() << " init spinback";
brake(deck, activate, -factor, rate);
}

/* -------- ------------------------------------------------------
Expand Down

0 comments on commit 7fed042

Please sign in to comment.