MCPcopy Create free account
hub / github.com/Duet3D/RepRapFirmware / GetEndStopPosition

Method GetEndStopPosition

src/Endstops/EndstopsManager.cpp:482–487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

480}
481
482EndStopPosition EndstopsManager::GetEndStopPosition(size_t axis) const noexcept
483{
484 return (axisEndstops[axis] == nullptr) ? EndStopPosition::noEndStop
485 : (axisEndstops[axis]->GetAtHighEnd()) ? EndStopPosition::highEndStop
486 : EndStopPosition::lowEndStop;
487}
488
489// Return true if we are using a bed probe to home Z
490bool EndstopsManager::HomingZWithProbe() const noexcept

Callers 1

RunStateMachineMethod · 0.80

Calls 1

GetAtHighEndMethod · 0.80

Tested by

no test coverage detected