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

Method MessageBoxClosed

src/GCodes/GCodes7.cpp:158–172  ·  view source on GitHub ↗

Deal with processing a M292 or timing out a message box

Source from the content-addressed store, hash-verified

156
157// Deal with processing a M292 or timing out a message box
158void 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

Callers 1

TimeOutMethod · 0.80

Calls 3

MessageAcknowledgedMethod · 0.80
ifFunction · 0.50
MessageFMethod · 0.45

Tested by

no test coverage detected