Pull fixCommonParams and sendCommand out of driving modes

This commit is contained in:
Michael Ehrenreich
2022-06-23 00:06:50 +02:00
committed by CommanderRedYT
parent 5971061bc7
commit 3e70a1fc74
10 changed files with 5 additions and 31 deletions

View File

@ -21,4 +21,9 @@ void updateDrivingMode()
if (currentMode)
currentMode->update();
fixCommonParams();
// Last, send values to motor controllers
sendCommands();
}