| 63 | // G-code input class for wrapping around Stream-based hardware ports |
| 64 | |
| 65 | void StreamGCodeInput::Reset() noexcept |
| 66 | { |
| 67 | while (device.available() > 0) |
| 68 | { |
| 69 | device.read(); |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | char StreamGCodeInput::ReadByte() noexcept |
| 74 | { |
no test coverage detected