Deal with processing a M292 or timing out a message box
| 156 | |
| 157 | // Deal with processing a M292 or timing out a message box |
| 158 | void GCodes::MessageBoxClosed(bool cancelled, bool shouldAbort, bool m292, uint32_t seq, ExpressionValue rslt) noexcept |
| 159 | { |
| 160 | platform.MessageF(MessageType::LogInfo, |
| 161 | "%s: cancelled=%s shouldAbort=%s", |
| 162 | (m292) ? "M292" : "Message box timed out", |
| 163 | (cancelled ? "true" : "false"), |
| 164 | (shouldAbort ? "true" : "false")); |
| 165 | for (GCodeBuffer *_ecv_null targetGb : gcodeSources) |
| 166 | { |
| 167 | if (targetGb != nullptr) |
| 168 | { |
| 169 | targetGb->MessageAcknowledged(cancelled, shouldAbort, seq, rslt); |
| 170 | } |
| 171 | } |
| 172 | } |
| 173 | |
| 174 | // End |
no test coverage detected