Initiate a tool change. Caller has already checked that the correct tool isn't loaded and set up ms.newToolNumber.
| 5216 | |
| 5217 | // Initiate a tool change. Caller has already checked that the correct tool isn't loaded and set up ms.newToolNumber. |
| 5218 | void GCodes::StartToolChange(GCodeBuffer& gb, MovementState& ms, uint8_t param) noexcept |
| 5219 | { |
| 5220 | ms.toolChangeParam = (IsSimulating()) ? 0u : param; |
| 5221 | gb.SetState(GCodeState::toolChange0); |
| 5222 | } |
| 5223 | |
| 5224 | // Set up some default values in the move buffer for special moves, e.g. for Z probing and firmware retraction |
| 5225 | void GCodes::SetMoveBufferDefaults(MovementState& ms) noexcept |
no test coverage detected