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/Fans/LocalFan.cpp
parent4d27cc210b6af47b3e99353c67568a157fb484ed (diff)
Added explicit constructor calls
Diffstat (limited to 'src/Fans/LocalFan.cpp')
-rw-r--r--src/Fans/LocalFan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fans/LocalFan.cpp b/src/Fans/LocalFan.cpp
index 13566f8a..3acfce43 100644
--- a/src/Fans/LocalFan.cpp
+++ b/src/Fans/LocalFan.cpp
@@ -206,7 +206,7 @@ bool LocalFan::AssignPorts(const char *pinNames, const StringRef& reply) noexcep
// Tacho initialisation
if (tachoPort.IsValid())
{
- tachoPort.AttachInterrupt(FanInterrupt, InterruptMode::falling, this);
+ tachoPort.AttachInterrupt(FanInterrupt, InterruptMode::falling, CallbackParameter(this));
}
InternalRefresh(true);