Browse Source

G-code Queue followup (#21214)

vanilla_fb_2.0.x
X-Ryl669 4 years ago
committed by Scott Lahteine
parent
commit
e1283b8a86
  1. 2
      Marlin/src/gcode/sd/M28_M29.cpp

2
Marlin/src/gcode/sd/M28_M29.cpp

@ -49,7 +49,7 @@ void GcodeSuite::M28() {
// Binary transfer mode
if ((card.flag.binary_mode = binary_mode)) {
SERIAL_ECHO_MSG("Switching to Binary Protocol");
TERN_(HAS_MULTI_SERIAL, card.transfer_port_index = queue.port[queue.index_r]);
TERN_(HAS_MULTI_SERIAL, card.transfer_port_index = queue.ring_buffer.command_port());
}
else
card.openFileWrite(p);

Loading…
Cancel
Save