diff --git a/Config.h b/Config.h index af9d327..3722a14 100644 --- a/Config.h +++ b/Config.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include "Structures.h" #define NeoPixelStartupAnimationActive true //Show Startup Animation for all Neopixels (true = activated / false = deactivated) !!Attention!! Animation will only be played if all NeoPixels have the same number of LEDs diff --git a/NeoPixel_BLV.ino b/NeoPixel_BLV.ino index b9fbc10..9c9a809 100644 --- a/NeoPixel_BLV.ino +++ b/NeoPixel_BLV.ino @@ -338,6 +338,11 @@ void loop() //Update Neopixels for (NeoPixelID = 0; NeoPixelID < NumberNeoPixels; NeoPixelID++) { + if (Printer.Status == 'S') { + NeoPixel_Device[NeoPixelID]->fill(0); + continue; + } + if (NeoPixelConfig[NeoPixelID].Active == true && NeoPixelConfig[NeoPixelID].DisplayPrinterObject[0] != -1) { //Determine PrinterObject to show DisplayPrinterObject = -1; @@ -473,7 +478,7 @@ void loop() NeoPixel_Device[NeoPixelID]->fill(COLOR1(PrinterStatus_ColorPrinting)); break; case 'S': - NeoPixel_Device[NeoPixelID]->fill(COLOR1(PrinterStatus_ColorStopped)); + NeoPixel_Device[NeoPixelID]->fill(0); break; case 'C': NeoPixel_Device[NeoPixelID]->fill(COLOR1(PrinterStatus_ColorConfiguring));