summaryrefslogtreecommitdiff
path: root/src/tasks/tasks.cpp
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2023-09-12 14:11:40 +1000
committerjacqueline <me@jacqueline.id.au>2023-09-12 14:18:04 +1000
commit86296c187f799eb94fe504e2491d7d991640fadc (patch)
tree2127a93f309030f2add2d66e3088377c8e2a771a /src/tasks/tasks.cpp
parentb0d745d02dcfd6ab9b1ad14e9060b39bf9ad7bb8 (diff)
downloadtangara-fw-86296c187f799eb94fe504e2491d7d991640fadc.tar.gz
Use interrupt-based spi for the display
This solves our "audio stutters while scrolling" problem better! Turns out the real root cause was the polling SPI driver blocking a whole CPU during playback.
Diffstat (limited to 'src/tasks/tasks.cpp')
-rw-r--r--src/tasks/tasks.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tasks/tasks.cpp b/src/tasks/tasks.cpp
index ae7b9eb2..fccdfd8b 100644
--- a/src/tasks/tasks.cpp
+++ b/src/tasks/tasks.cpp
@@ -114,8 +114,7 @@ auto Priority<Type::kAudioConverter>() -> UBaseType_t {
}
// 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. Note that during audio
-// playback, this priority will be downgraded.
+// this task directly below audio in terms of priority.
template <>
auto Priority<Type::kUi>() -> UBaseType_t {
return 10;