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

Method Clear

src/GCodes/GCodeQueue.cpp:210–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210void GCodeQueue::Clear() noexcept
211{
212 while (queuedItems != nullptr)
213 {
214 QueuedCode * const item = _ecv_not_null(queuedItems);
215 queuedItems = item->Next();
216 item->next = freeItems;
217 freeItems = item;
218 }
219}
220
221void GCodeQueue::Diagnostics(const StringRef& reply) noexcept
222{

Callers 15

THROWSFunction · 0.45
THROWSFunction · 0.45
GetMessageMethod · 0.45
InitMethod · 0.45
HandleM486TMethod · 0.45
InitMethod · 0.45
ResetMethod · 0.45
EmergencyStopMethod · 0.45
THROWSFunction · 0.45
HandleM114Method · 0.45
GCodes.cppFile · 0.45

Calls 1

NextMethod · 0.45

Tested by

no test coverage detected