diff --git a/platformio.ini b/platformio.ini index b84fa1de7..27db4ef71 100644 --- a/platformio.ini +++ b/platformio.ini @@ -24,6 +24,7 @@ platform = espressif32@6.5.0 build_flags = -DPIOENV=\"$PIOENV\" -D_TASK_STD_FUNCTION=1 + -D_TASK_THREAD_SAFE=1 -Wall -Wextra -Wunused -Wmisleading-indentation -Wduplicated-cond -Wlogical-op -Wnull-dereference ; Have to remove -Werror because of ; https://github.com/espressif/arduino-esp32/issues/9044 and