MCPcopy Create free account
hub / github.com/bdring/FluidNC / ambiguousLimit

Function ambiguousLimit

FluidNC/src/Limit.cpp:48–54  ·  view source on GitHub ↗

Called only from Kinematics canHome() methods, hence from states allowing homing

Source from the content-addressed store, hash-verified

46
47// Called only from Kinematics canHome() methods, hence from states allowing homing
48bool ambiguousLimit() {
49 if (Machine::Axes::posLimitMask & Machine::Axes::negLimitMask) {
50 mc_critical(ExecAlarm::HomingAmbiguousSwitch);
51 return true;
52 }
53 return false;
54}
55
56bool soft_limit = false;
57

Callers 2

canHomeMethod · 0.85
canHomeMethod · 0.85

Calls 1

mc_criticalFunction · 0.85

Tested by

no test coverage detected