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/audioio/WaveFile.c | |
| parent | 0d27f4d9a66dcb47b545e715d1833094b0c7b484 (diff) | |
compiles and runs; hangs on import storage;storage.VfsFat.<tab>
Diffstat (limited to 'shared-bindings/audioio/WaveFile.c')
| -rw-r--r-- | shared-bindings/audioio/WaveFile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/audioio/WaveFile.c b/shared-bindings/audioio/WaveFile.c index 13c4d6b8f..05768e14d 100644 --- a/shared-bindings/audioio/WaveFile.c +++ b/shared-bindings/audioio/WaveFile.c @@ -73,7 +73,7 @@ STATIC mp_obj_t audioio_wavefile_make_new(const mp_obj_type_t *type, size_t n_ar audioio_wavefile_obj_t *self = m_new_obj(audioio_wavefile_obj_t); self->base.type = &audioio_wavefile_type; - if (MP_OBJ_IS_TYPE(args[0], &fatfs_type_fileio)) { + if (MP_OBJ_IS_TYPE(args[0], &mp_type_fileio)) { common_hal_audioio_wavefile_construct(self, MP_OBJ_TO_PTR(args[0])); } else { mp_raise_TypeError("file must be a file opened in byte mode"); |
