Преглед изворни кода

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;
         }