From b292a5bf4e2a856ad3010e2da2f0fd8f01b39660 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gu=C3=B0ni=20M=C3=A1r=20Gilbert?= Date: Sat, 10 Sep 2022 15:26:31 +0000 Subject: [PATCH] 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 --- Firmware/Tcodes.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Firmware/Tcodes.cpp b/Firmware/Tcodes.cpp index fbeb680ac..c96b75bec 100644 --- a/Firmware/Tcodes.cpp +++ b/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; }