diff options
author | David Crocker <dcrocker@eschertech.com> | 2019-10-19 12:09:19 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2019-10-19 12:09:19 +0300 |
commit | 02c935062002ea863c3bb8c697b0a340eaf9f8ef (patch) | |
tree | ab816960040c2eca6c088b7c9aafb27a22be1c04 /src/Fans/LocalFan.cpp | |
parent | 52155fe59efa861b3c5b86efed03e77ee133d701 (diff) |
Interim commit towards 3.0beta11
Diffstat (limited to 'src/Fans/LocalFan.cpp')
-rw-r--r-- | src/Fans/LocalFan.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fans/LocalFan.cpp b/src/Fans/LocalFan.cpp index d9f004bc..3fc427ae 100644 --- a/src/Fans/LocalFan.cpp +++ b/src/Fans/LocalFan.cpp @@ -185,10 +185,10 @@ bool LocalFan::Check() bool LocalFan::AssignPorts(const char *pinNames, const StringRef& reply) { IoPort* const ports[] = { &port, &tachoPort }; - const PinAccess access1[] = { PinAccess::pwm, PinAccess::readWithPullup }; + const PinAccess access1[] = { PinAccess::pwm, PinAccess::read}; if (IoPort::AssignPorts(pinNames, reply, PinUsedBy::fan, 2, ports, access1) == 0) { - const PinAccess access2[] = { PinAccess::write0, PinAccess::readWithPullup }; + const PinAccess access2[] = { PinAccess::write0, PinAccess::read}; if (IoPort::AssignPorts(pinNames, reply, PinUsedBy::fan, 2, ports, access2) == 0) { return false; |