PFW-1362 temporary debug messages

This commit is contained in:
Guðni Már Gilbert 2022-09-10 15:25:12 +00:00 committed by D.R.racer
parent 8610636906
commit 7dcfc1484e
1 changed files with 5 additions and 0 deletions

View File

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