PFW-1362 Show if SpoolJoin is enabled or disabled at bootup

This commit is contained in:
Guðni Már Gilbert 2022-09-10 12:11:33 +00:00 committed by D.R.racer
parent fb27a7d72b
commit c5bb34f226
1 changed files with 10 additions and 0 deletions

View File

@ -1,4 +1,5 @@
#include "SpoolJoin.h"
#include "Marlin.h"
#include "eeprom.h"
namespace SpoolJoin {
@ -27,6 +28,15 @@ void SpoolJoin::initSpoolJoinStatus()
} else {
updateSpoolJoinStatus(currentStatus);
}
// Useful information to see during bootup
SERIAL_ECHOPGM("SpoolJoin is ");
if (isSpoolJoinEnabled())
{
SERIAL_ECHOLNPGM("enabled");
} else {
SERIAL_ECHOLNPGM("disabled");
}
}
void SpoolJoin::toggleSpoolJoin()