diff options
| author | Jeff Epler <jepler@unpythonic.net> | 2021-03-04 12:28:06 -0600 |
|---|---|---|
| committer | Jeff Epler <jepler@unpythonic.net> | 2021-03-04 12:28:06 -0600 |
| commit | c023ec03fff59bae159469645edbe2662da8820f (patch) | |
| tree | e0ec180b55e06e307ecf58b71db568041159d898 | |
| parent | bd01d31542f1d83797ecb2ac4a4a16ba0235a988 (diff) | |
PDMIn: Add missing deinit call
| -rw-r--r-- | ports/raspberrypi/common-hal/audiobusio/PDMIn.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/raspberrypi/common-hal/audiobusio/PDMIn.c b/ports/raspberrypi/common-hal/audiobusio/PDMIn.c index 6aee8b4df..883660271 100644 --- a/ports/raspberrypi/common-hal/audiobusio/PDMIn.c +++ b/ports/raspberrypi/common-hal/audiobusio/PDMIn.c @@ -93,6 +93,7 @@ void common_hal_audiobusio_pdmin_deinit(audiobusio_pdmin_obj_t* self) { if (common_hal_audiobusio_pdmin_deinited(self)) { return; } + return common_hal_rp2pio_statemachine_deinit(&self->state_machine); } uint8_t common_hal_audiobusio_pdmin_get_bit_depth(audiobusio_pdmin_obj_t* self) { |
