diff --git a/src/sysinput.c b/src/sysinput.c index 503c2f3..055a86f 100644 --- a/src/sysinput.c +++ b/src/sysinput.c @@ -5,7 +5,7 @@ #include "msg_queue.h" #include "gpio.h" -volatile PMSG_QUEUE Sys_Queue = NULL; +MSG_QUEUE volatile *Sys_Queue = NULL; static pthread_t ithread; static volatile sig_atomic_t running = 1; diff --git a/src/sysinput.h b/src/sysinput.h index bc08960..7142f4b 100644 --- a/src/sysinput.h +++ b/src/sysinput.h @@ -3,7 +3,7 @@ #include "msg_queue.h" -extern volatile PMSG_QUEUE Sys_Queue; +extern MSG_QUEUE volatile *Sys_Queue; extern int SysEnableInput(void); extern void SysDisableInput(void);