kopia lustrzana https://github.com/cyoung/stratux
				
				
				
			Start managementinterface earlier to avoid nil
							rodzic
							
								
									b615a0370b
								
							
						
					
					
						commit
						601efa9023
					
				| 
						 | 
				
			
			@ -1381,6 +1381,9 @@ func main() {
 | 
			
		|||
	ADSBTowerMutex = &sync.Mutex{}
 | 
			
		||||
	MsgLog = make([]msg, 0)
 | 
			
		||||
 | 
			
		||||
	// Start the management interface.
 | 
			
		||||
	go managementInterface()
 | 
			
		||||
 | 
			
		||||
	crcInit() // Initialize CRC16 table.
 | 
			
		||||
 | 
			
		||||
	sdrInit()
 | 
			
		||||
| 
						 | 
				
			
			@ -1404,9 +1407,6 @@ func main() {
 | 
			
		|||
	//FIXME: Only do this if data logging is enabled.
 | 
			
		||||
	initDataLog()
 | 
			
		||||
 | 
			
		||||
	// Start the management interface.
 | 
			
		||||
	go managementInterface()
 | 
			
		||||
 | 
			
		||||
	// Start the AHRS sensor monitoring.
 | 
			
		||||
	initI2CSensors()
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue