diff options
-rw-r--r-- | apps/buffering.c | 2 | ||||
-rw-r--r-- | firmware/export/thread.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/buffering.c b/apps/buffering.c index 68e77a82f7..6d4192443c 100644 --- a/apps/buffering.c +++ b/apps/buffering.c | |||
@@ -1466,7 +1466,7 @@ void buffering_init(void) | |||
1466 | queue_init(&buffering_queue, true); | 1466 | queue_init(&buffering_queue, true); |
1467 | buffering_thread_p = create_thread( buffering_thread, buffering_stack, | 1467 | buffering_thread_p = create_thread( buffering_thread, buffering_stack, |
1468 | sizeof(buffering_stack), CREATE_THREAD_FROZEN, | 1468 | sizeof(buffering_stack), CREATE_THREAD_FROZEN, |
1469 | buffering_thread_name IF_PRIO(, PRIORITY_BUFFERING-1) | 1469 | buffering_thread_name IF_PRIO(, PRIORITY_BUFFERING) |
1470 | IF_COP(, CPU)); | 1470 | IF_COP(, CPU)); |
1471 | 1471 | ||
1472 | queue_enable_queue_send(&buffering_queue, &buffering_queue_sender_list, | 1472 | queue_enable_queue_send(&buffering_queue, &buffering_queue_sender_list, |
diff --git a/firmware/export/thread.h b/firmware/export/thread.h index bb1cb7cd17..8c2338715c 100644 --- a/firmware/export/thread.h +++ b/firmware/export/thread.h | |||
@@ -46,11 +46,11 @@ | |||
46 | #define PRIORITY_REALTIME_3 3 | 46 | #define PRIORITY_REALTIME_3 3 |
47 | #define PRIORITY_REALTIME_4 4 | 47 | #define PRIORITY_REALTIME_4 4 |
48 | #define PRIORITY_REALTIME 4 /* Lowest realtime range */ | 48 | #define PRIORITY_REALTIME 4 /* Lowest realtime range */ |
49 | #define PRIORITY_BUFFERING 15 /* Codec buffering thread */ | ||
49 | #define PRIORITY_USER_INTERFACE 16 /* The main thread */ | 50 | #define PRIORITY_USER_INTERFACE 16 /* The main thread */ |
50 | #define PRIORITY_RECORDING 16 /* Recording thread */ | 51 | #define PRIORITY_RECORDING 16 /* Recording thread */ |
51 | #define PRIORITY_PLAYBACK 16 /* Variable between this and MAX */ | 52 | #define PRIORITY_PLAYBACK 16 /* Variable between this and MAX */ |
52 | #define PRIORITY_PLAYBACK_MAX 5 /* Maximum allowable playback priority */ | 53 | #define PRIORITY_PLAYBACK_MAX 5 /* Maximum allowable playback priority */ |
53 | #define PRIORITY_BUFFERING 16 /* Codec buffering thread */ | ||
54 | #define PRIORITY_SYSTEM 18 /* All other firmware threads */ | 54 | #define PRIORITY_SYSTEM 18 /* All other firmware threads */ |
55 | #define PRIORITY_BACKGROUND 20 /* Normal application threads */ | 55 | #define PRIORITY_BACKGROUND 20 /* Normal application threads */ |
56 | #define NUM_PRIORITIES 32 | 56 | #define NUM_PRIORITIES 32 |