From e2924c35066de0e8e70c21446f32bb45776ff69a Mon Sep 17 00:00:00 2001 From: Alex Voinea Date: Thu, 13 Oct 2022 22:39:18 +0200 Subject: [PATCH] Fix tests --- tests/unit/modules/stubs/stub_tmc2130.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/unit/modules/stubs/stub_tmc2130.cpp b/tests/unit/modules/stubs/stub_tmc2130.cpp index 1239b68..e769263 100644 --- a/tests/unit/modules/stubs/stub_tmc2130.cpp +++ b/tests/unit/modules/stubs/stub_tmc2130.cpp @@ -18,6 +18,9 @@ void TMC2130::SetEnabled(const MotorParams ¶ms, bool enabled) { this->enabled = enabled; } +void TMC2130::SetCurrents(const MotorParams ¶ms, const MotorCurrents ¤ts) { +} + void TMC2130::Isr(const MotorParams ¶ms) { }