output a message from the output thread

This commit is contained in:
Denis 2023-11-06 02:16:06 +01:00
parent 895b5abeb9
commit a84e4cf872
No known key found for this signature in database
GPG key ID: DD9B63F805CF5C03
3 changed files with 83 additions and 30 deletions

10
message.h Normal file
View 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;