소스 검색

PFW-1362 Optimise debug message

Saves 20 bytes of flash :)
Guðni Már Gilbert 2 년 전
부모
커밋
65a0036dbe
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      Firmware/SpoolJoin.cpp

+ 2 - 2
Firmware/SpoolJoin.cpp

@@ -67,13 +67,13 @@ void SpoolJoin::setSlot(uint8_t slot)
 
 uint8_t SpoolJoin::nextSlot()
 {
-    SERIAL_ECHOPGM("SpoolJoin: Changing slot from ");
+    SERIAL_ECHOPGM("SpoolJoin: ");
     SERIAL_ECHO((int)currentMMUSlot);
 
     if (currentMMUSlot >= 4) currentMMUSlot = 0;
     else currentMMUSlot++;
 
-    SERIAL_ECHOPGM(" to ");
+    SERIAL_ECHOPGM(" -> ");
     SERIAL_ECHOLN((int)currentMMUSlot);
 
     return currentMMUSlot;