Check if a pause is pending, action it if so
| 1147 | |
| 1148 | // Check if a pause is pending, action it if so |
| 1149 | void GCodes::CheckForDeferredPause(GCodeBuffer& gb) noexcept |
| 1150 | { |
| 1151 | if (gb.IsFileChannel() && !gb.IsDoingFileMacro(true) && deferredPauseCommandPending != nullptr && !doingToolChange) |
| 1152 | { |
| 1153 | gb.PutAndDecode(deferredPauseCommandPending); |
| 1154 | deferredPauseCommandPending = nullptr; |
| 1155 | } |
| 1156 | } |
| 1157 | |
| 1158 | // Return true if we are printing from SD card and not pausing, paused or resuming |
| 1159 | // Called by the filament monitor code to see whether we need to activate the filament monitors, and from other places |
nothing calls this directly
no test coverage detected