fix: handle Bambu connection state by introducing bambuDisabled flag

This commit is contained in:
Manuel Weiser committed 2025-03-27 11:18:04 +01:00
1 parent c78f36d21a
commit 169d73bfc0
2 files changed
+3 -4

No files matched your search

+1 -1
View File
@@ -100,7 +100,7 @@ void loop() {
// Wenn Bambu auto set Spool aktiv
if (autoSendToBambu && autoSetToBambuSpoolId > 0)
{
if (!bambu_connected)
if (!bambuDisabled && !bambu_connected)
{
bambu_restart();
}