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>2018-07-26 13:23:49 +0300
committerDavid Crocker <dcrocker@eschertech.com>2018-07-26 13:23:49 +0300
commite24175aaf31140178e51d757a46fce235b81da3a (patch)
treea1924c29d52b07daa832f246857027acafe95234
parent34b9f62648dba9086e384187a72fd89c7945380a (diff)
Fixed compilation error on Duet 06-085 build
-rw-r--r--src/Platform.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Platform.cpp b/src/Platform.cpp
index d121852e..db9d8166 100644
--- a/src/Platform.cpp
+++ b/src/Platform.cpp
@@ -3226,7 +3226,7 @@ void Platform::SetFanValue(size_t fan, float speed)
void Platform::EnableSharedFan(bool enable)
{
const size_t sharedFanNumber = NUM_FANS - 1;
- fans[sharedFanNumber].Init((enable) ? COOLING_FAN_PINS[sharedFanNumber] : NoPin, FansHardwareInverted(sharedFanNumber));
+ fans[sharedFanNumber].Init((enable) ? COOLING_FAN_PINS[sharedFanNumber] : NoPin, FansHardwareInverted(sharedFanNumber), DefaultFanPwmFreq);
}
#endif