소스 검색

G-code Queue followup (#21214)

X-Ryl669 4 년 전
부모
커밋
e65a84f6ea
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      Marlin/src/gcode/sd/M28_M29.cpp

+ 1
- 1
Marlin/src/gcode/sd/M28_M29.cpp 파일 보기

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

Loading…
취소
저장