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

Method GetFileGCode

src/GCodes/GCodes.cpp:1737–1740  ·  view source on GitHub ↗

Get the file GCode buffer that processes commands for this movement system

Source from the content-addressed store, hash-verified

1735
1736// Get the file GCode buffer that processes commands for this movement system
1737GCodeBuffer* GCodes::GetFileGCode(unsigned int msNumber) const noexcept
1738{
1739 return (msNumber == 0 || FileGCode()->ExecutingAll()) ? FileGCode() : File2GCode();
1740}
1741
1742// Lock the movement system that we currently use and wait for it to stop
1743bool GCodes::LockCurrentMovementSystemAndWaitForStandstill(GCodeBuffer& gb) noexcept

Callers

nothing calls this directly

Calls 1

ExecutingAllMethod · 0.80

Tested by

no test coverage detected