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{}
|
ADSBTowerMutex = &sync.Mutex{}
|
||||||
MsgLog = make([]msg, 0)
|
MsgLog = make([]msg, 0)
|
||||||
|
|
||||||
|
// Start the management interface.
|
||||||
|
go managementInterface()
|
||||||
|
|
||||||
crcInit() // Initialize CRC16 table.
|
crcInit() // Initialize CRC16 table.
|
||||||
|
|
||||||
sdrInit()
|
sdrInit()
|
||||||
|
|
@ -1404,9 +1407,6 @@ func main() {
|
||||||
//FIXME: Only do this if data logging is enabled.
|
//FIXME: Only do this if data logging is enabled.
|
||||||
initDataLog()
|
initDataLog()
|
||||||
|
|
||||||
// Start the management interface.
|
|
||||||
go managementInterface()
|
|
||||||
|
|
||||||
// Start the AHRS sensor monitoring.
|
// Start the AHRS sensor monitoring.
|
||||||
initI2CSensors()
|
initI2CSensors()
|
||||||
|
|
||||||
|
|
|
||||||
Ładowanie…
Reference in New Issue