diff options
| author | Dan Halbert <halbert@halwitz.org> | 2018-07-13 22:51:10 -0400 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2018-07-13 22:51:10 -0400 |
| commit | e2e01efa84d2ed46d004edf48076e4701accc176 (patch) | |
| tree | 8c877ce226b6404b117990db92c9cfc93950df60 /shared-bindings/audiobusio | |
| parent | 0d27f4d9a66dcb47b545e715d1833094b0c7b484 (diff) | |
compiles and runs; hangs on import storage;storage.VfsFat.<tab>
Diffstat (limited to 'shared-bindings/audiobusio')
| -rw-r--r-- | shared-bindings/audiobusio/PDMIn.c | 2 | ||||
| -rw-r--r-- | shared-bindings/audiobusio/PDMIn.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/shared-bindings/audiobusio/PDMIn.c b/shared-bindings/audiobusio/PDMIn.c index 3e0f3c1fc..9ddfc5f11 100644 --- a/shared-bindings/audiobusio/PDMIn.c +++ b/shared-bindings/audiobusio/PDMIn.c @@ -194,7 +194,7 @@ STATIC mp_obj_t audiobusio_pdmin_obj_record(mp_obj_t self_obj, mp_obj_t destinat uint32_t length = MP_OBJ_SMALL_INT_VALUE(destination_length); mp_buffer_info_t bufinfo; - if (MP_OBJ_IS_TYPE(destination, &fatfs_type_fileio)) { + if (MP_OBJ_IS_TYPE(destination, &mp_type_fileio)) { mp_raise_NotImplementedError(""); } else if (mp_get_buffer(destination, &bufinfo, MP_BUFFER_WRITE)) { if (bufinfo.len / mp_binary_get_size('@', bufinfo.typecode, NULL) < length) { diff --git a/shared-bindings/audiobusio/PDMIn.h b/shared-bindings/audiobusio/PDMIn.h index eaed59830..c2a8bab2f 100644 --- a/shared-bindings/audiobusio/PDMIn.h +++ b/shared-bindings/audiobusio/PDMIn.h @@ -29,7 +29,7 @@ #include "common-hal/audiobusio/PDMIn.h" #include "common-hal/microcontroller/Pin.h" -#include "extmod/vfs_fat_file.h" +#include "extmod/vfs_fat.h" extern const mp_obj_type_t audiobusio_pdmin_type; |
