| 291 | } |
| 292 | |
| 293 | void GCodeMachineState::SetWarning(const char *_ecv_array msg) noexcept |
| 294 | { |
| 295 | if (stateMachineResult == GCodeResult::ok) |
| 296 | { |
| 297 | errorMessage = GCodeException(msg); |
| 298 | stateMachineResult = GCodeResult::warning; |
| 299 | } |
| 300 | } |
| 301 | |
| 302 | // Retrieve the result and error message if it is worse than the one we already have |
| 303 | void GCodeMachineState::RetrieveStateMachineResult(const GCodeBuffer& gb, const StringRef& reply, GCodeResult& rslt) const noexcept |
nothing calls this directly
no test coverage detected