소스 검색

PFW-1362 temporarily don't use SpoolJoin in Tcodes

I think in the current implementation, this will cause more harm than good.
But we can improve SpoolJoin later
Guðni Már Gilbert 2 년 전
부모
커밋
b292a5bf4e
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      Firmware/Tcodes.cpp

+ 3 - 2
Firmware/Tcodes.cpp

@@ -59,8 +59,9 @@ void TCodes(char *const strchr_pointer, uint8_t codeValue) {
         SChooseFromMenu selectedSlot;
         if (strchr_pointer[index] == '?') {
             selectedSlot = TCodeChooseFromMenu();
-        } else if (MMU2::mmu2.Enabled() && SpoolJoin::spooljoin.isSpoolJoinEnabled()) {
-            selectedSlot.slot = SpoolJoin::spooljoin.nextSlot();
+        /*} else if (MMU2::mmu2.Enabled() && SpoolJoin::spooljoin.isSpoolJoinEnabled()) {
+            // TODO: What if the next slot has no filament?
+            selectedSlot.slot = SpoolJoin::spooljoin.nextSlot();*/
         } else {
             selectedSlot.slot = codeValue;
         }