소스 검색

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