mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 18:56:38 +00:00
Merge pull request #17108 from curzon01/patch1
Fix linker error using #undef USE_WS2812 for ESP32
This commit is contained in:
commit
acca26f9cd
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user