summaryrefslogtreecommitdiff
path: root/shared-bindings/audiobusio/PDMIn.c
diff options
context:
space:
mode:
authordherrada <dylan.herrada@adafruit.com>2020-07-02 12:39:17 -0400
committerdherrada <dylan.herrada@adafruit.com>2020-07-02 12:39:17 -0400
commitac113fdc815f31b54d742f73265359787bd95290 (patch)
treeea416b40e21c39f5e987802a0bcfe13599ef8c91 /shared-bindings/audiobusio/PDMIn.c
parentffc5f0c3382bf76e73cfcb9d0ba45b4c1fb19b26 (diff)
Changed bytearray to a union
Diffstat (limited to 'shared-bindings/audiobusio/PDMIn.c')
-rw-r--r--shared-bindings/audiobusio/PDMIn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/audiobusio/PDMIn.c b/shared-bindings/audiobusio/PDMIn.c
index 4aa178799..7b2e04c34 100644
--- a/shared-bindings/audiobusio/PDMIn.c
+++ b/shared-bindings/audiobusio/PDMIn.c
@@ -168,7 +168,7 @@ STATIC mp_obj_t audiobusio_pdmin_obj___exit__(size_t n_args, const mp_obj_t *arg
STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(audiobusio_pdmin___exit___obj, 4, 4, audiobusio_pdmin_obj___exit__);
-//| def record(self, destination: bytearray, destination_length: int) -> None:
+//| def record(self, destination: Union[bytes, bytearray, memoryview], destination_length: int) -> None:
//| """Records destination_length bytes of samples to destination. This is
//| blocking.
//|