cleaning up access to the system queue
This commit is contained in:
parent
bb98f165ca
commit
97ee88caf3
|
@ -5,7 +5,7 @@
|
||||||
#include "msg_queue.h"
|
#include "msg_queue.h"
|
||||||
#include "gpio.h"
|
#include "gpio.h"
|
||||||
|
|
||||||
PMSG_QUEUE Sys_Queue = NULL;
|
volatile PMSG_QUEUE Sys_Queue = NULL;
|
||||||
|
|
||||||
static pthread_t ithread;
|
static pthread_t ithread;
|
||||||
static volatile sig_atomic_t running = 1;
|
static volatile sig_atomic_t running = 1;
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
#include "msg_queue.h"
|
#include "msg_queue.h"
|
||||||
|
|
||||||
extern PMSG_QUEUE Sys_Queue;
|
extern volatile PMSG_QUEUE Sys_Queue;
|
||||||
|
|
||||||
extern int SysEnableInput(void);
|
extern int SysEnableInput(void);
|
||||||
extern void SysDisableInput(void);
|
extern void SysDisableInput(void);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user