Fix linker error using undef USE_WS2812 for ESP32

This commit is contained in:
Norbert Richter 2022-11-17 11:13:40 +01:00
parent c304319f5d
commit be7581b377
No known key found for this signature in database
GPG Key ID: 6628701A626FA674
1 changed files with 4 additions and 0 deletions

View File

@ -21,6 +21,10 @@
#ifdef USE_LIGHT
#ifdef USE_LIGHT_ARTNET
#ifndef USE_WS2812
#define USE_WS2812 // needed since USE_LIGHT_ARTNET is enabled for ESP32 by default
#endif
#ifndef WS2812_ARTNET_UDP_BUFFER_SIZE
#define WS2812_ARTNET_UDP_BUFFER_SIZE 140 // Max 30 columns with 4 bytes per pixel
#endif