mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-09-21 15:34:33 +08:00
Configure motors before encoders to avoid SPI collision
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user