diff --git a/src/main.cpp b/src/main.cpp index 5d952e90b..f0b2e5263 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -351,7 +351,11 @@ extern "C" // Create a new high-priority task to handle the main loop // This is assigned to CPU1; the WiFi task ends up on CPU0 #define MAIN_STACKSIZE 32768 +#ifdef BUILD_ADAM +#define MAIN_PRIORITY 30 +#else #define MAIN_PRIORITY 17 +#endif #define MAIN_CPUAFFINITY 1 xTaskCreatePinnedToCore(fn_service_loop, "fnLoop",