Merge pull request #17108 from curzon01/patch1

Fix linker error using #undef USE_WS2812 for ESP32
This commit is contained in:
Theo Arends 2022-11-17 12:06:36 +01:00 committed by GitHub
commit acca26f9cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,10 @@
#ifdef USE_LIGHT #ifdef USE_LIGHT
#ifdef USE_LIGHT_ARTNET #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 #ifndef WS2812_ARTNET_UDP_BUFFER_SIZE
#define WS2812_ARTNET_UDP_BUFFER_SIZE 140 // Max 30 columns with 4 bytes per pixel #define WS2812_ARTNET_UDP_BUFFER_SIZE 140 // Max 30 columns with 4 bytes per pixel
#endif #endif