output a message from the output thread
This commit is contained in:
parent
895b5abeb9
commit
a84e4cf872
3 changed files with 83 additions and 30 deletions
10
message.h
Normal file
10
message.h
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#pragma once
|
||||
|
||||
#include "rogue_enemy.h"
|
||||
|
||||
#define MESSAGE_FLAGS_HANDLE_DONE 0x00000001U
|
||||
|
||||
typedef struct message {
|
||||
struct input_event ev;
|
||||
volatile uint32_t flags;
|
||||
} message_t;
|
||||
Loading…
Add table
Add a link
Reference in a new issue