Fix in tx channel size
This commit is contained in:
parent
9aeb4fb188
commit
d939a19efc
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ func NewDevice(nodeID, networkID byte, isRfm69HW bool) (*Device, error) {
|
||||||
address: nodeID,
|
address: nodeID,
|
||||||
isRFM69HW: isRfm69HW,
|
isRFM69HW: isRfm69HW,
|
||||||
powerLevel: 31,
|
powerLevel: 31,
|
||||||
tx: make(chan *Data),
|
tx: make(chan *Data, 5),
|
||||||
quit: make(chan bool),
|
quit: make(chan bool),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue