diff options
author | David Crocker <dcrocker@eschertech.com> | 2019-11-08 21:14:36 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2019-11-08 21:14:36 +0300 |
commit | 68fa1e12e6d45507ecb5f8f075a1e608f3508e3f (patch) | |
tree | 65870dd0b5ac7f142f5b4db3f59c0356aad0a40d /src/Endstops/SwitchEndstop.h | |
parent | 255319723a2c44dc23abe9ddb0f5eeb0e1e48892 (diff) |
Added check when using remote endstops
When setting up G1 H1 or G1 H3 moves that rely on remote endstops, check that the expansion board knows about the
Fixed build errors that occurred in some configurations
Diffstat (limited to 'src/Endstops/SwitchEndstop.h')
-rw-r--r-- | src/Endstops/SwitchEndstop.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Endstops/SwitchEndstop.h b/src/Endstops/SwitchEndstop.h index 480aed8d..cd4492be 100644 --- a/src/Endstops/SwitchEndstop.h +++ b/src/Endstops/SwitchEndstop.h @@ -24,7 +24,7 @@ public: EndStopInputType GetEndstopType() const override; EndStopHit Stopped() const override; - void Prime(const Kinematics& kin, const AxisDriversConfig& axisDrivers) override; + bool Prime(const Kinematics& kin, const AxisDriversConfig& axisDrivers) override; EndstopHitDetails CheckTriggered(bool goingSlow) override; bool Acknowledge(EndstopHitDetails what) override; void AppendDetails(const StringRef& str) override; |