summaryrefslogtreecommitdiff
path: root/src/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'src/tasks')
-rw-r--r--src/tasks/tasks.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tasks/tasks.cpp b/src/tasks/tasks.cpp
index dfcead06..689011ea 100644
--- a/src/tasks/tasks.cpp
+++ b/src/tasks/tasks.cpp
@@ -107,11 +107,11 @@ auto Priority() -> UBaseType_t;
// highest priority.
template <>
auto Priority<Type::kAudioDecoder>() -> UBaseType_t {
- return 18;
+ return configMAX_PRIORITIES - 1;
}
template <>
auto Priority<Type::kAudioConverter>() -> UBaseType_t {
- return 18;
+ return configMAX_PRIORITIES - 1;
}
// 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