mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-11 16:37:45 -04:00
firmware: fix misdefinition of QUEUE_GET_THREAD macro #2?
Broke the sim, just above it has..
struct queue_sender_list
{
/* If non-NULL, there is a thread waiting for the corresponding event */
/* Must be statically allocated to put in non-cached ram. */
struct thread_entry *senders[QUEUE_LENGTH]; /* message->thread map */
struct __wait_queue list; /* list of senders in map */
/* Send info for last message dequeued or NULL if replied or not sent */
struct thread_entry * volatile curr_sender;
struct blocker blocker;
};
Change-Id: Ifc7a5fe92ebe5f06c0dc5655ce9725752e606381
This commit is contained in:
parent
515b2816cd
commit
44a5163061
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ struct queue_sender_list
|
|||
};
|
||||
#endif /* HAVE_EXTENDED_MESSAGING_AND_NAME */
|
||||
|
||||
#if defined(HAVE_EXTENDED_MESSAGING_AND_NAME)
|
||||
#if defined(HAVE_EXTENDED_MESSAGING_AND_NAME) && defined(HAVE_PRIORITY_SCHEDULING)
|
||||
#define QUEUE_GET_THREAD(q) \
|
||||
(((q)->send == NULL) ? NULL : (q)->send->blocker.thread)
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue