| 480 | } |
| 481 | |
| 482 | EndStopPosition 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 |
| 490 | bool EndstopsManager::HomingZWithProbe() const noexcept |
no test coverage detected