Skip to content

Commit

Permalink
Beepiz#60 GattConnectionImpl - fixed BroadcastChannel capacity
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacek-Galla committed Jun 25, 2020
1 parent b73c0b4 commit 67e67c8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ internal class GattConnectionImpl(
private val readChannel = Channel<GattResponse<BGC>>()
private val writeChannel = Channel<GattResponse<BGC>>()
private val reliableWriteChannel = Channel<GattResponse<Unit>>()
private val characteristicChangedChannel = BroadcastChannel<BGC>(1)
private val characteristicChangedChannel = BroadcastChannel<BGC>(BroadcastChannel.BUFFERED)
private val readDescChannel = Channel<GattResponse<BGD>>()
private val writeDescChannel = Channel<GattResponse<BGD>>()
private val mtuChannel = Channel<GattResponse<Int>>()
Expand Down

0 comments on commit 67e67c8

Please sign in to comment.