kopia lustrzana https://github.com/micropython/micropython-lib
Merge 7e1c9cf905
into 68e0dfce0a
commit
572d23b196
|
@ -141,6 +141,7 @@ class L2CAPChannel:
|
||||||
if self._stalled:
|
if self._stalled:
|
||||||
await self.flush(timeout_ms)
|
await self.flush(timeout_ms)
|
||||||
# l2cap_send returns True if you can send immediately.
|
# l2cap_send returns True if you can send immediately.
|
||||||
|
self._assert_connected()
|
||||||
self._stalled = not ble.l2cap_send(
|
self._stalled = not ble.l2cap_send(
|
||||||
self._connection._conn_handle,
|
self._connection._conn_handle,
|
||||||
self._cid,
|
self._cid,
|
||||||
|
|
Ładowanie…
Reference in New Issue