Fixed handbremse (deleted old code and wrote new code :D)

This commit is contained in:
CommanderRedYT
2021-12-08 02:24:44 +01:00
parent bc9c7c22a8
commit 0837333731
7 changed files with 143 additions and 74 deletions

View File

@@ -360,6 +360,7 @@ void sendCanCommands()
if (front) send(MotorController<false, true>::Command::CtrlMod, front->command.right.ctrlMod);
if (back) send(MotorController<true, false>::Command::CtrlMod, back->command.left.ctrlMod);
if (back) send(MotorController<true, true>::Command::CtrlMod, back->command.right.ctrlMod);
handbremse::finishedMotorUpdate = true;
break;
case 3:
#if defined(HAS_SIMPLIFIED)