Whoops, that thread can't run until the linked list is initialized
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15329 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2c1e8283aa
commit
7104ad54d0
1 changed files with 3 additions and 1 deletions
|
@ -1199,7 +1199,7 @@ void buffering_init(void) {
|
|||
queue_enable_queue_send(&buffering_queue, &buffering_queue_sender_list);
|
||||
|
||||
buffering_thread_p = create_thread( buffering_thread, buffering_stack,
|
||||
sizeof(buffering_stack), 0,
|
||||
sizeof(buffering_stack), CREATE_THREAD_FROZEN,
|
||||
buffering_thread_name IF_PRIO(, PRIORITY_BUFFERING)
|
||||
IF_COP(, CPU));
|
||||
}
|
||||
|
@ -1231,6 +1231,8 @@ bool buffering_reset(char *buf, size_t buflen)
|
|||
high_watermark = 3*buflen / 4;
|
||||
#endif
|
||||
|
||||
thread_thaw(buffering_thread_p);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue