mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-29 09:39:12 -04:00
Init message queues in M0 event dispatcher.
This commit is contained in:
parent
7ec476cb79
commit
0681f9c5df
4 changed files with 14 additions and 14 deletions
|
@ -48,15 +48,4 @@ struct SharedMemory {
|
|||
|
||||
extern SharedMemory& shared_memory;
|
||||
|
||||
#if defined(LPC43XX_M0)
|
||||
inline void init_message_queues() {
|
||||
new (&shared_memory.baseband_queue) MessageQueue(
|
||||
shared_memory.baseband_queue_data, SharedMemory::baseband_queue_k
|
||||
);
|
||||
new (&shared_memory.application_queue) MessageQueue(
|
||||
shared_memory.application_queue_data, SharedMemory::application_queue_k
|
||||
);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif/*__PORTAPACK_SHARED_MEMORY_H__*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue