diff options
| author | dherrada <dylan.herrada@adafruit.com> | 2020-07-02 12:39:17 -0400 |
|---|---|---|
| committer | dherrada <dylan.herrada@adafruit.com> | 2020-07-02 12:39:17 -0400 |
| commit | ac113fdc815f31b54d742f73265359787bd95290 (patch) | |
| tree | ea416b40e21c39f5e987802a0bcfe13599ef8c91 /shared-bindings/audiobusio/PDMIn.c | |
| parent | ffc5f0c3382bf76e73cfcb9d0ba45b4c1fb19b26 (diff) | |
Changed bytearray to a union
Diffstat (limited to 'shared-bindings/audiobusio/PDMIn.c')
| -rw-r--r-- | shared-bindings/audiobusio/PDMIn.c | 2 |
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. //| |
