Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2021-10-31 00:05:13 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-10-31 00:05:13 +0300
commit22276b993bc8db027d55d8d47de4559ad10ca044 (patch)
treea69319e723ce32ce0e638057c325473fe3b16691 /src/Endstops
parent4d27cc210b6af47b3e99353c67568a157fb484ed (diff)
Added explicit constructor calls
Diffstat (limited to 'src/Endstops')
-rw-r--r--src/Endstops/LocalZProbe.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Endstops/LocalZProbe.cpp b/src/Endstops/LocalZProbe.cpp
index 98b8a94e..3fad705f 100644
--- a/src/Endstops/LocalZProbe.cpp
+++ b/src/Endstops/LocalZProbe.cpp
@@ -159,7 +159,7 @@ GCodeResult LocalZProbe::SendProgram(const uint32_t zProbeProgram[], size_t len,
modulationPort.WriteDigital(false); // start with 2 bits of zero
startTime = StepTimer::GetTimerTicks();
- timer.SetCallback(LocalZProbe::TimerInterrupt, static_cast<void*>(this));
+ timer.SetCallback(LocalZProbe::TimerInterrupt, CallbackParameter(this));
timer.ScheduleCallback(startTime + 2 * bitTime);
// TODO wait until all bytes sent or some error occurs, but for now we return immediately