Add an entire binary G-Code, overwriting any existing content CAUTION! This may be called with the task scheduler suspended, so don't do anything that might block or take more than a few microseconds to execute
| 306 | // Add an entire binary G-Code, overwriting any existing content |
| 307 | // CAUTION! This may be called with the task scheduler suspended, so don't do anything that might block or take more than a few microseconds to execute |
| 308 | void GCodeBuffer::PutBinary(const uint32_t *data, size_t len) noexcept |
| 309 | { |
| 310 | machineState->lastCodeFromSbc = true; |
| 311 | isBinaryBuffer = true; |
| 312 | macroJustStarted = false; |
| 313 | binaryParser.Put(data, len); |
| 314 | } |
| 315 | |
| 316 | #endif |
| 317 |
no test coverage detected