diff --git a/src/TMCStepper.h b/src/TMCStepper.h index d810a967..d73f79e6 100644 --- a/src/TMCStepper.h +++ b/src/TMCStepper.h @@ -111,6 +111,7 @@ class TMCStepper { protected: TMCStepper(float RS) : Rsense(RS) {}; + virtual ~TMCStepper() {}; INIT_REGISTER(IHOLD_IRUN){{.sr=0}}; // 32b INIT_REGISTER(TPOWERDOWN){.sr=0}; // 8b INIT_REGISTER(TPWMTHRS){.sr=0}; // 32b