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

Method IsWaitingForTemperatures

src/GCodes/GCodeBuffer/GCodeBuffer.cpp:208–216  ·  view source on GitHub ↗

Check if this GB is waiting for temperatures to be reached

Source from the content-addressed store, hash-verified

206
207// Check if this GB is waiting for temperatures to be reached
208bool GCodeBuffer::IsWaitingForTemperatures() const noexcept
209{
210 int num;
211 return GetState() == GCodeState::m109WaitForTemperature
212 || ( IsExecuting()
213 && GetCommandLetter() == 'M'
214 && ((num = GetCommandNumber()) == 109 || num == 116 || num == 190 || num == 191)
215 );
216}
217
218// Write some debug info
219void GCodeBuffer::Diagnostics(const StringRef& reply) noexcept

Callers 3

SpinGCodeBufferMethod · 0.80
IsHeatingUpMethod · 0.80

Calls 1

GetStateFunction · 0.50

Tested by

no test coverage detected