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>2020-10-19 12:51:35 +0300
committerDavid Crocker <dcrocker@eschertech.com>2020-10-19 12:51:35 +0300
commit7361f65fc75ed4d5e73aa3d87b71b060aaaac1e5 (patch)
treebef8c81cd771d981bf936ffea5449e4af0a82788 /src/Endstops/LocalZProbe.cpp
parent7f04c9f483e561899467d4feab3d660a92bee1d1 (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.cpp2
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;