Start managementinterface earlier to avoid nil

pull/578/head
Eric Westphal 2017-01-07 08:00:28 -05:00
rodzic b615a0370b
commit 601efa9023
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -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()