MCPcopy Create free account
hub / github.com/MarlinFirmware/Marlin / enable

Method enable

Marlin/src/module/endstops.cpp:307–310  ·  view source on GitHub ↗

Enable / disable endstop checking

Source from the content-addressed store, hash-verified

305
306// Enable / disable endstop checking
307void Endstops::enable(const bool onoff) {
308 enabled = onoff;
309 resync();
310}
311
312// Disable / Enable endstops based on ENSTOPS_ONLY_FOR_HOMING and global enable
313void Endstops::not_homing() {

Callers 14

resetMethod · 0.45
probe.cppFile · 0.45
closefileMethod · 0.45
M143Method · 0.45
M193Method · 0.45
ac_homeFunction · 0.45
G28Method · 0.45
G38_single_probeFunction · 0.45
G38_run_probeFunction · 0.45
M413Method · 0.45
M405Method · 0.45
M406Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected