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

Method PutAndDecode

src/GCodes/GCodeBuffer/GCodeBuffer.cpp:319–326  ·  view source on GitHub ↗

Add an entire G-Code, overwriting any existing content

Source from the content-addressed store, hash-verified

317
318// Add an entire G-Code, overwriting any existing content
319void GCodeBuffer::PutAndDecode(const char *_ecv_array str, size_t len) noexcept
320{
321#if HAS_SBC_INTERFACE
322 machineState->lastCodeFromSbc = false;
323 isBinaryBuffer = false;
324#endif
325 stringParser.PutAndDecode(str, len);
326}
327
328// Add a null-terminated string, overwriting any existing content
329void GCodeBuffer::PutAndDecode(const char *_ecv_array str) noexcept

Callers 4

AssignToMethod · 0.45
CheckForDeferredPauseMethod · 0.45
ProcessCommandFromLcdMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected