Browse Source

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 years ago
parent
commit
b292a5bf4e
1 changed files with 3 additions and 2 deletions
  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;
         }