Handle sending a reply back to the appropriate interface(s) and update lastResult Note that 'reply' may be empty. If it isn't, then we need to append newline when sending it.
| 4133 | // Handle sending a reply back to the appropriate interface(s) and update lastResult |
| 4134 | // Note that 'reply' may be empty. If it isn't, then we need to append newline when sending it. |
| 4135 | void GCodes::HandleReply(GCodeBuffer& gb, GCodeResult rslt, const char *_ecv_array reply) noexcept |
| 4136 | { |
| 4137 | gb.SetLastResult(rslt); |
| 4138 | HandleReplyPreserveResult(gb, rslt, reply); |
| 4139 | } |
| 4140 | |
| 4141 | // Handle sending a reply back to the appropriate interface(s) but don't update lastResult |
| 4142 | // Note that 'reply' may be empty. If it isn't, then we need to append newline when sending it. |
no test coverage detected