diff options
author | David Crocker <dcrocker@eschertech.com> | 2018-07-26 13:23:49 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2018-07-26 13:23:49 +0300 |
commit | e24175aaf31140178e51d757a46fce235b81da3a (patch) | |
tree | a1924c29d52b07daa832f246857027acafe95234 | |
parent | 34b9f62648dba9086e384187a72fd89c7945380a (diff) |
Fixed compilation error on Duet 06-085 build
-rw-r--r-- | src/Platform.cpp | 2 |
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 |