Browse Source

PFW-1362 temporary debug messages

Guðni Már Gilbert 2 years ago
parent
commit
7dcfc1484e
1 changed files with 5 additions and 0 deletions
  1. 5 0
      Firmware/SpoolJoin.cpp

+ 5 - 0
Firmware/SpoolJoin.cpp

@@ -61,9 +61,14 @@ uint8_t SpoolJoin::isSpoolJoinEnabled()
 
 uint8_t SpoolJoin::nextSlot()
 {
+    SERIAL_ECHOPGM("SpoolJoin: Changing slot from ");
+    SERIAL_ECHO((int)currentMMUSlot);
     if (currentMMUSlot == 4) currentMMUSlot = 0;
     else currentMMUSlot++;
 
+    SERIAL_ECHOPGM(" to ");
+    SERIAL_ECHOLN((int)currentMMUSlot);
+
     return currentMMUSlot;
 }