diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-10-31 00:05:13 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-10-31 00:05:13 +0300 |
commit | 22276b993bc8db027d55d8d47de4559ad10ca044 (patch) | |
tree | a69319e723ce32ce0e638057c325473fe3b16691 /src/Movement | |
parent | 4d27cc210b6af47b3e99353c67568a157fb484ed (diff) |
Added explicit constructor calls
Diffstat (limited to 'src/Movement')
-rw-r--r-- | src/Movement/DDARing.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Movement/DDARing.cpp b/src/Movement/DDARing.cpp index 27cd1aa7..c15b5809 100644 --- a/src/Movement/DDARing.cpp +++ b/src/Movement/DDARing.cpp @@ -62,7 +62,7 @@ void DDARing::Init1(unsigned int numDdas) noexcept getPointer = checkPointer = addPointer; currentDda = nullptr; - timer.SetCallback(DDARing::TimerCallback, static_cast<void*>(this)); + timer.SetCallback(DDARing::TimerCallback, CallbackParameter(this)); } // This must be called from Move::Init, not from the Move constructor, because it indirectly refers to the GCodes module which must therefore be initialised first |