Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

firmware: fix misdefinition of QUEUE_GET_THREAD macro

This tries to access 'struct event_queue->send', but that
is only available if HAVE_EXTENDED_MESSAGING_AND_NAME is set.
This is not defined for bootloaders; this is a problem when
trying to build a bootloader with debugging enabled, because
the misdefined macro is used in some KERNEL_ASSERTs that get
compiled out on non-debug builds.

Change-Id: I334eedcda1ee7047c8dddcb7fa0c9717156f2a0a

authored by

Aidan MacDonald and committed by
Solomon Peachy
d21d8f49 aaee7858

+1 -1
+1 -1
firmware/kernel/include/queue.h
··· 100 100 }; 101 101 #endif /* HAVE_EXTENDED_MESSAGING_AND_NAME */ 102 102 103 - #ifdef HAVE_PRIORITY_SCHEDULING 103 + #if defined(HAVE_EXTENDED_MESSAGING_AND_NAME) 104 104 #define QUEUE_GET_THREAD(q) \ 105 105 (((q)->send == NULL) ? NULL : (q)->send->blocker.thread) 106 106 #else