From 86296c187f799eb94fe504e2491d7d991640fadc Mon Sep 17 00:00:00 2001 From: jacqueline Date: Tue, 12 Sep 2023 14:11:40 +1000 Subject: 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. --- src/tasks/tasks.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/tasks') 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() -> 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() -> UBaseType_t { return 10; -- cgit v1.2.3