forked from len0rd/rockbox
Don't yield twice in a row
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15490 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
eac794de77
commit
7ca056dc13
1 changed files with 2 additions and 3 deletions
|
@ -60,7 +60,8 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Define LOGF_ENABLE to enable logf output in this file */
|
/* Define LOGF_ENABLE to enable logf output in this file */
|
||||||
/*#define LOGF_ENABLE*/
|
#define LOGF_ENABLE
|
||||||
|
#define BUFFERING_LOGQUEUES
|
||||||
#include "logf.h"
|
#include "logf.h"
|
||||||
|
|
||||||
/* macros to enable logf for queues
|
/* macros to enable logf for queues
|
||||||
|
@ -556,8 +557,6 @@ static inline bool buffer_is_low(void)
|
||||||
new queue events */
|
new queue events */
|
||||||
static bool yield_codec(void)
|
static bool yield_codec(void)
|
||||||
{
|
{
|
||||||
yield();
|
|
||||||
|
|
||||||
if (!queue_empty(&buffering_queue))
|
if (!queue_empty(&buffering_queue))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue