kopia lustrzana https://github.com/cyoung/stratux
commit
3ae0439429
|
@ -44,8 +44,7 @@ var InChan = make(chan []byte, 100)
|
|||
|
||||
type UserCbT func(C.char, *C.uint8_t, C.int)
|
||||
|
||||
// Dump978Init must be the first function called in this package.
|
||||
func Dump978Init() {
|
||||
func init() {
|
||||
C.Dump978Init((C.CallBack)(C.GetGoCb()))
|
||||
}
|
||||
|
||||
|
|
|
@ -521,6 +521,5 @@ func sdrWatcher() {
|
|||
func sdrInit() {
|
||||
go sdrWatcher()
|
||||
go uatReader()
|
||||
godump978.Dump978Init()
|
||||
go godump978.ProcessDataFromChannel()
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue