From ecee01fe97422c65e2b01979742d01ece31bc28d Mon Sep 17 00:00:00 2001 From: jacqueline Date: Tue, 23 May 2023 09:00:06 +1000 Subject: Remove audio drain task ISR drain works fine! --- src/tasks/tasks.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/tasks/tasks.cpp') diff --git a/src/tasks/tasks.cpp b/src/tasks/tasks.cpp index 0d9d7881..f76c32a1 100644 --- a/src/tasks/tasks.cpp +++ b/src/tasks/tasks.cpp @@ -22,10 +22,6 @@ auto Name() -> std::string { return "AUDIO"; } template <> -auto Name() -> std::string { - return "DRAIN"; -} -template <> auto Name() -> std::string { return "DB"; } @@ -41,12 +37,6 @@ auto AllocateStack() -> cpp::span { return {static_cast(heap_caps_malloc(size, MALLOC_CAP_DEFAULT)), size}; } -template <> -auto AllocateStack() -> cpp::span { - std::size_t size = 1024; - return {static_cast(heap_caps_malloc(size, MALLOC_CAP_DEFAULT)), - size}; -} // LVGL requires only a relatively small stack. However, it can be allocated in // PSRAM so we give it a bit of headroom for safety. template <> @@ -88,10 +78,6 @@ template <> auto Priority() -> UBaseType_t { return 10; } -template <> -auto Priority() -> UBaseType_t { - return 10; -} // After audio issues, UI jank is the most noticeable kind of scheduling-induced // slowness that the user is likely to notice or care about. Therefore we place // this task directly below audio in terms of priority. -- cgit v1.2.3