8266: minor buildenv updates

* -Wno-register not needed any more (solved in FastLED 3.6.0)
* ARDUINOJSON_DEBUG added to debug_flags
* use WLEDMM_PROTECT_SERVICE on 8266, too
This commit is contained in:
Frank
2023-08-23 13:18:48 +02:00
parent 92e64b797a
commit 087de86127
2 changed files with 10 additions and 5 deletions

View File

@@ -66,9 +66,7 @@
//#define WLED_DISABLE_BROWNOUT_DET
// WLED-MM MANDATORY flags
#ifdef ARDUINO_ARCH_ESP32 // this feature seems unstable on 8266
#define WLEDMM_PROTECT_SERVICE // prevents crashes when effects are drawing while asyncWebServer tries to modify segments at the same time
#endif
// Library inclusions.
#include <Arduino.h>