Check if this GB is waiting for temperatures to be reached
| 206 | |
| 207 | // Check if this GB is waiting for temperatures to be reached |
| 208 | bool 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 |
| 219 | void GCodeBuffer::Diagnostics(const StringRef& reply) noexcept |
no test coverage detected