Chris Pepper
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
3 deletions
-
Marlin/src/gcode/queue.cpp
|
|
@ -454,8 +454,7 @@ void gcode_line_error(PGM_P const err, const int8_t port) { |
|
|
|
else { |
|
|
|
if (bytes_received < stream_header.filesize) { |
|
|
|
stream_state = StreamState::PACKET_RESET; // reset and receive next packet
|
|
|
|
SERIAL_ECHOLNPGM("ok"); // transmit confirm packet received and valid token
|
|
|
|
SERIAL_ECHOLN(packet.header.id); |
|
|
|
SERIAL_ECHOLNPAIR("ok", packet.header.id); // transmit confirm packet received and valid token
|
|
|
|
} |
|
|
|
else |
|
|
|
stream_state = StreamState::STREAM_COMPLETE; // no more data required
|
|
|
|