From f62cb99b13aa46ab5719d302576704017a54ccbb Mon Sep 17 00:00:00 2001 From: "D.R.racer" Date: Wed, 14 Jul 2021 08:37:11 +0200 Subject: [PATCH] Fix TMC2130 stub so that motion unit tests build and run --- tests/unit/modules/stubs/stub_tmc2130.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/unit/modules/stubs/stub_tmc2130.cpp b/tests/unit/modules/stubs/stub_tmc2130.cpp index 0182c69..50fa9a0 100644 --- a/tests/unit/modules/stubs/stub_tmc2130.cpp +++ b/tests/unit/modules/stubs/stub_tmc2130.cpp @@ -13,5 +13,9 @@ void TMC2130::SetMode(MotorMode mode) { // TODO } +void TMC2130::Init(const MotorParams & /*params*/) { + // TODO +} + } // namespace tmc2130 } // namespace hal