always define WLEDMM_PROTECT_SERVICE
moved from MM specific platformio.ini into wled.h
This commit is contained in:
@@ -904,7 +904,6 @@ build_flags_S =
|
||||
-D UM_AUDIOREACTIVE_USE_NEW_FFT ; use latest (upstream) FFTLib, instead of older library modified by blazoncek. Slightly faster, more accurate, needs 2KB RAM extra
|
||||
-D USERMOD_ARTIFX ; WLEDMM usermod
|
||||
; -D WLEDMM_FASTPATH ; WLEDMM experimental option. Reduces audio lag (latency), and allows for faster LED framerates. May break compatibility with previous versions.
|
||||
-D WLEDMM_PROTECT_SERVICE ;; WLEDMM experimental feature to prevent crashes when effects are drawing while async_tcp tries to modify segment or strip objects.
|
||||
; -D WLED_DEBUG_HEAP ;; WLEDMM enable heap debugging
|
||||
; -D WLED_DISABLE_LOXONE
|
||||
; -D WLED_DISABLE_ALEXA
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
*/
|
||||
|
||||
// version code in format yymmddb (b = daily build)
|
||||
#define VERSION 2307280
|
||||
#define VERSION 2307281
|
||||
|
||||
//uncomment this if you have a "my_config.h" file you'd like to use
|
||||
//#define WLED_USE_MY_CONFIG
|
||||
@@ -63,6 +63,9 @@
|
||||
//This is generally a terrible idea, but improves boot success on boards with a 3.3v regulator + cap setup that can't provide 400mA peaks
|
||||
//#define WLED_DISABLE_BROWNOUT_DET
|
||||
|
||||
// WLED-MM MANDATORY flags
|
||||
#define WLEDMM_PROTECT_SERVICE // prevents crashes when effects are drawing while asyncWebServer tries to modify segments at the same time
|
||||
|
||||
// Library inclusions.
|
||||
#include <Arduino.h>
|
||||
#ifdef ESP8266
|
||||
|
||||
Reference in New Issue
Block a user