From 471573307f95684b6a5fa5c22e305aa2084fc64a Mon Sep 17 00:00:00 2001 From: Oskar Weigl Date: Tue, 13 Jun 2017 06:45:16 -0700 Subject: [PATCH] add brake current todo --- MotorControl/low_level.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MotorControl/low_level.c b/MotorControl/low_level.c index 21672e40..99055557 100755 --- a/MotorControl/low_level.c +++ b/MotorControl/low_level.c @@ -1223,6 +1223,10 @@ static void control_motor_loop(Motor_t* motor) { break; // in case of error exit loop, motor->error has been set by FOC_current } } + + //We are exiting control, reset Ibus, and update brake current + //TODO update brake current from all motors in 1 func + //TODO reset this motor Ibus, then call from here }