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:
authorManuel Coenen <manuel@duet3d.com>2021-01-22 18:31:28 +0300
committerManuel Coenen <manuel@duet3d.com>2021-01-22 18:31:28 +0300
commit9df7f438ed60813fab0e6303b0302fe1b1a1121b (patch)
tree7e630ade47ae7b1db0e1d06a366198aeb734c05f /src/Fans/LocalFan.cpp
parent837875d24b3bb657245eafa9f22db1a23cfba6da (diff)
Fix all compiler and linker errors for SAM4E+CoreN2G
Note: PinTable still empty
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 8d57c0a7..8b80de5c 100644
--- a/src/Fans/LocalFan.cpp
+++ b/src/Fans/LocalFan.cpp
@@ -200,7 +200,7 @@ bool LocalFan::AssignPorts(const char *pinNames, const StringRef& reply) noexcep
// Tacho initialisation
if (tachoPort.IsValid())
{
- tachoPort.AttachInterrupt(FanInterrupt, INTERRUPT_MODE_FALLING, this);
+ tachoPort.AttachInterrupt(FanInterrupt, InterruptMode::falling, this);
}
InternalRefresh(true);