summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/buffering.c2
-rw-r--r--firmware/export/thread.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/buffering.c b/apps/buffering.c
index 68e77a8..6d41924 100644
--- a/apps/buffering.c
+++ b/apps/buffering.c
@@ -1466,7 +1466,7 @@ void buffering_init(void)
queue_init(&buffering_queue, true);
buffering_thread_p = create_thread( buffering_thread, buffering_stack,
sizeof(buffering_stack), CREATE_THREAD_FROZEN,
- buffering_thread_name IF_PRIO(, PRIORITY_BUFFERING-1)
+ buffering_thread_name IF_PRIO(, PRIORITY_BUFFERING)
IF_COP(, CPU));
queue_enable_queue_send(&buffering_queue, &buffering_queue_sender_list,
diff --git a/firmware/export/thread.h b/firmware/export/thread.h
index bb1cb7c..8c23387 100644
--- a/firmware/export/thread.h
+++ b/firmware/export/thread.h
@@ -46,11 +46,11 @@
#define PRIORITY_REALTIME_3 3
#define PRIORITY_REALTIME_4 4
#define PRIORITY_REALTIME 4 /* Lowest realtime range */
+#define PRIORITY_BUFFERING 15 /* Codec buffering thread */
#define PRIORITY_USER_INTERFACE 16 /* The main thread */
#define PRIORITY_RECORDING 16 /* Recording thread */
#define PRIORITY_PLAYBACK 16 /* Variable between this and MAX */
#define PRIORITY_PLAYBACK_MAX 5 /* Maximum allowable playback priority */
-#define PRIORITY_BUFFERING 16 /* Codec buffering thread */
#define PRIORITY_SYSTEM 18 /* All other firmware threads */
#define PRIORITY_BACKGROUND 20 /* Normal application threads */
#define NUM_PRIORITIES 32