| 208 | } |
| 209 | |
| 210 | void 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 | |
| 221 | void GCodeQueue::Diagnostics(const StringRef& reply) noexcept |
| 222 | { |
no test coverage detected