Pull fixCommonParams and sendCommand out of driving modes
This commit is contained in:
committed by
CommanderRedYT
parent
5971061bc7
commit
3e70a1fc74
@ -21,4 +21,9 @@ void updateDrivingMode()
|
||||
|
||||
if (currentMode)
|
||||
currentMode->update();
|
||||
|
||||
fixCommonParams();
|
||||
|
||||
// Last, send values to motor controllers
|
||||
sendCommands();
|
||||
}
|
||||
|
Reference in New Issue
Block a user