1
0
Fork 0
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:
Brandon Low 2007-11-05 21:48:15 +00:00
parent eac794de77
commit 7ca056dc13

View file

@ -60,7 +60,8 @@
#endif
/* Define LOGF_ENABLE to enable logf output in this file */
/*#define LOGF_ENABLE*/
#define LOGF_ENABLE
#define BUFFERING_LOGQUEUES
#include "logf.h"
/* macros to enable logf for queues
@ -556,8 +557,6 @@ static inline bool buffer_is_low(void)
new queue events */
static bool yield_codec(void)
{
yield();
if (!queue_empty(&buffering_queue))
return true;