PFW-1362 Optimise debug message
Saves 20 bytes of flash :)
This commit is contained in:
parent
998ed87f25
commit
65a0036dbe
|
|
@ -67,13 +67,13 @@ void SpoolJoin::setSlot(uint8_t slot)
|
||||||
|
|
||||||
uint8_t SpoolJoin::nextSlot()
|
uint8_t SpoolJoin::nextSlot()
|
||||||
{
|
{
|
||||||
SERIAL_ECHOPGM("SpoolJoin: Changing slot from ");
|
SERIAL_ECHOPGM("SpoolJoin: ");
|
||||||
SERIAL_ECHO((int)currentMMUSlot);
|
SERIAL_ECHO((int)currentMMUSlot);
|
||||||
|
|
||||||
if (currentMMUSlot >= 4) currentMMUSlot = 0;
|
if (currentMMUSlot >= 4) currentMMUSlot = 0;
|
||||||
else currentMMUSlot++;
|
else currentMMUSlot++;
|
||||||
|
|
||||||
SERIAL_ECHOPGM(" to ");
|
SERIAL_ECHOPGM(" -> ");
|
||||||
SERIAL_ECHOLN((int)currentMMUSlot);
|
SERIAL_ECHOLN((int)currentMMUSlot);
|
||||||
|
|
||||||
return currentMMUSlot;
|
return currentMMUSlot;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue