cleaning up access to the system queue

This commit is contained in:
Amy G. Bowersox 2019-12-01 01:24:15 -07:00
parent bb98f165ca
commit 97ee88caf3
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
#include "msg_queue.h"
#include "gpio.h"
PMSG_QUEUE Sys_Queue = NULL;
volatile PMSG_QUEUE Sys_Queue = NULL;
static pthread_t ithread;
static volatile sig_atomic_t running = 1;

View File

@ -3,7 +3,7 @@
#include "msg_queue.h"
extern PMSG_QUEUE Sys_Queue;
extern volatile PMSG_QUEUE Sys_Queue;
extern int SysEnableInput(void);
extern void SysDisableInput(void);