Fix DRV lock-up problem when using absolute encoders

This commit is contained in:
Unknown
2020-09-02 20:44:56 -04:00
parent e9810e5014
commit f691536b3c
3 changed files with 20 additions and 7 deletions
+2 -3
View File
@@ -85,10 +85,9 @@ static void step_cb_wrapper(void* ctx) {
}
// @brief Sets up all components of the axis,
// such as gate driver and encoder hardware.
// @brief Does Nothing
void Axis::setup() {
motor_.setup();
// Does nothing - Motor and encoder setup called separately.
}
static void run_state_machine_loop_wrapper(void* ctx) {