浏览代码

PFW-1362 temporary debug messages

Guðni Már Gilbert 2 年之前
父节点
当前提交
7dcfc1484e
共有 1 个文件被更改,包括 5 次插入0 次删除
  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;
 }