Configure motors before encoders to avoid SPI collision

This commit is contained in:
Unknown
2020-01-01 21:37:04 -05:00
parent 878566cba9
commit c9d35415db
2 changed files with 4 additions and 1 deletions
-1
View File
@@ -75,7 +75,6 @@ static void step_cb_wrapper(void* ctx) {
// @brief Sets up all components of the axis,
// such as gate driver and encoder hardware.
void Axis::setup() {
encoder_.setup();
motor_.setup();
}