pybricks.iodevices: Make LWP3 write awaitable.

This commit is contained in:
Laurens Valk
2023-11-16 12:01:28 +01:00
parent 91bc9a5d60
commit fd61866f2b
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -4,6 +4,12 @@
## Unreleased
## Added
- Enabled tilt and orientation config for `MoveHub()`.
## Fixed
- Fixed missing awaitable for `Remote.light` and LWP3 writes.
## 3.3.0b9 - 2023-10-26
### Changed
+1 -1
View File
@@ -316,7 +316,7 @@ class LWP3Device:
this method returns the current name.
"""
def write(self, buf: bytes) -> None:
def write(self, buf: bytes) -> MaybeAwaitable:
"""write(buf)
Sends a message to the remote hub.