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

Method Put

src/GCodes/GCodeBuffer/GCodeBuffer.cpp:283–290  ·  view source on GitHub ↗

Add a character to the end

Source from the content-addressed store, hash-verified

281
282// Add a character to the end
283bool GCodeBuffer::Put(char c) noexcept
284{
285#if HAS_SBC_INTERFACE
286 machineState->lastCodeFromSbc = false;
287 isBinaryBuffer = false;
288#endif
289 return stringParser.Put(c);
290}
291
292// Decode the command in the buffer when it is complete
293void GCodeBuffer::DecodeCommand() noexcept

Callers 1

PutBinaryMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected