Do not include neopixel

This commit is contained in:
Just Call Me Koko
2025-07-23 16:21:22 -04:00
parent e2b6983950
commit fd1a34e567
2 changed files with 8 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
#include "LedInterface.h" #include "LedInterface.h"
LedInterface::LedInterface() { LedInterface::LedInterface() {
} }

View File

@@ -6,7 +6,9 @@
#include "configs.h" #include "configs.h"
#include "settings.h" #include "settings.h"
#include <Arduino.h> #include <Arduino.h>
#include <Adafruit_NeoPixel.h> #ifdef HAS_NEOPIXEL_LED
#include <Adafruit_NeoPixel.h>
#endif
#define Pixels 1 #define Pixels 1
@@ -17,7 +19,10 @@
#define MODE_CUSTOM 4 #define MODE_CUSTOM 4
extern Settings settings_obj; extern Settings settings_obj;
extern Adafruit_NeoPixel strip;
#ifdef HAS_NEOPIXEL_LED
extern Adafruit_NeoPixel strip;
#endif
class LedInterface { class LedInterface {