refactor drv8301 driver

This commit is contained in:
Samuel Sadok
2020-07-21 12:31:03 +02:00
parent 8b3a290522
commit 856455077d
34 changed files with 1330 additions and 1887 deletions
+2 -2
View File
@@ -87,8 +87,8 @@ 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() {
motor_.setup();
bool Axis::setup() {
return motor_.setup();
}
static void run_state_machine_loop_wrapper(void* ctx) {