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:
William Wilgus 2025-12-25 10:05:07 -05:00 committed by Aidan MacDonald
parent 515b2816cd
commit 44a5163061

View file

@ -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