diff options
author | David Crocker <dcrocker@eschertech.com> | 2020-10-19 12:51:35 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2020-10-19 12:51:35 +0300 |
commit | 7361f65fc75ed4d5e73aa3d87b71b060aaaac1e5 (patch) | |
tree | bef8c81cd771d981bf936ffea5449e4af0a82788 /src/Endstops/LocalZProbe.cpp | |
parent | 7f04c9f483e561899467d4feab3d660a92bee1d1 (diff) |
Minor refactoring to bring IoPorts into line with expansion board f/w
Diffstat (limited to 'src/Endstops/LocalZProbe.cpp')
-rw-r--r-- | src/Endstops/LocalZProbe.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Endstops/LocalZProbe.cpp b/src/Endstops/LocalZProbe.cpp index 57228a7f..9b2a593d 100644 --- a/src/Endstops/LocalZProbe.cpp +++ b/src/Endstops/LocalZProbe.cpp @@ -102,7 +102,7 @@ uint16_t LocalZProbe::GetRawReading() const noexcept case ZProbeType::digital: case ZProbeType::unfilteredDigital: case ZProbeType::blTouch: - return (inputPort.Read()) ? MaxReading : 0; + return (inputPort.ReadDigital()) ? MaxReading : 0; default: return MaxReading; |