mirror of
https://github.com/nonoo/kappanhang.git
synced 2026-01-05 16:29:59 +01:00
Use buffer length recommended by the official app
This commit is contained in:
parent
0939fe2bb4
commit
7ec72ecd5e
|
|
@ -8,7 +8,7 @@ import (
|
|||
)
|
||||
|
||||
const audioTimeoutDuration = 3 * time.Second
|
||||
const audioRxSeqBufLength = 100 * time.Millisecond
|
||||
const audioRxSeqBufLength = 120 * time.Millisecond
|
||||
|
||||
type audioStream struct {
|
||||
common streamCommon
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import (
|
|||
)
|
||||
|
||||
const maxSerialFrameLength = 80 // Max. frame length according to Hamlib.
|
||||
const serialRxSeqBufLength = 100 * time.Millisecond
|
||||
const serialRxSeqBufLength = 120 * time.Millisecond
|
||||
|
||||
type serialStream struct {
|
||||
common streamCommon
|
||||
|
|
|
|||
Loading…
Reference in a new issue