summaryrefslogtreecommitdiff
path: root/shared-bindings/_bleio/PacketBuffer.c
diff options
context:
space:
mode:
authordherrada <dylan.herrada@adafruit.com>2020-07-02 17:47:52 -0400
committerdherrada <dylan.herrada@adafruit.com>2020-07-02 17:47:52 -0400
commit9b4ffc05710873e69bfeed209d0f7ebd8fb2f259 (patch)
treeee53c635cbe9a04b6119f74925d4d2cebef1de78 /shared-bindings/_bleio/PacketBuffer.c
parentdd27fdfbe34a6d67e5019d211e96bc8cda3ee77d (diff)
Changed unions to ReadableBuffer and WriteableBuffer
Diffstat (limited to 'shared-bindings/_bleio/PacketBuffer.c')
-rw-r--r--shared-bindings/_bleio/PacketBuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/_bleio/PacketBuffer.c b/shared-bindings/_bleio/PacketBuffer.c
index a5b017312..7645a25aa 100644
--- a/shared-bindings/_bleio/PacketBuffer.c
+++ b/shared-bindings/_bleio/PacketBuffer.c
@@ -93,7 +93,7 @@ STATIC void check_for_deinit(bleio_packet_buffer_obj_t *self) {
}
}
-//| def readinto(self, buf: Union[bytearray, memoryview]) -> int:
+//| def readinto(self, buf: WriteableBuffer) -> int:
//| """Reads a single BLE packet into the ``buf``. Raises an exception if the next packet is longer
//| than the given buffer. Use `packet_size` to read the maximum length of a single packet.
//|