mirror of
https://github.com/nonoo/kappanhang.git
synced 2026-01-18 14:50:32 +01:00
Make radio init more reliable
This commit is contained in:
parent
030acc7e86
commit
fee78c2172
|
|
@ -237,9 +237,9 @@ func (s *controlStream) start() {
|
|||
|
||||
copy(s.authID[:], r[26:32])
|
||||
log.Print("auth ok, waiting a bit")
|
||||
s.sendPktReauth(true)
|
||||
|
||||
time.AfterFunc(time.Second, func() {
|
||||
s.sendPktReauth(true)
|
||||
s.sendPktReauth(false)
|
||||
time.AfterFunc(time.Second, func() {
|
||||
s.sendRequestSerialAndAudio()
|
||||
|
|
|
|||
Loading…
Reference in a new issue