Skip to content

Commit

Permalink
[adam] raise mainloop priority.
Browse files Browse the repository at this point in the history
  • Loading branch information
tschak909 committed Oct 12, 2023
1 parent f538245 commit 438af2a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 438af2a

Please sign in to comment.