another approach
This commit is contained in:
		
							parent
							
								
									97ee88caf3
								
							
						
					
					
						commit
						1bf4e3397e
					
				@ -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;
 | 
			
		||||
 | 
			
		||||
@ -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);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user