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

Method StopDriversFromRemote

src/Movement/Move2.cpp:1757–1765  ·  view source on GitHub ↗

Stop some drivers and update the corresponding motor positions

Source from the content-addressed store, hash-verified

1755
1756// Stop some drivers and update the corresponding motor positions
1757void Move::StopDriversFromRemote(uint16_t whichDrives) noexcept
1758{
1759 LocalDriversBitmap dr(whichDrives);
1760 dr.Iterate([this](size_t drive, unsigned int) noexcept
1761 {
1762 StopDriveFromRemote(drive);
1763 }
1764 );
1765}
1766
1767// Stall endstops
1768GCodeResult Move::SetStallEndstopReporting(const CanMessageEnableStallEndstop& msg, const StringRef& reply) noexcept

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected