Skip to content

Commit c023ec0

Browse files
committed
PDMIn: Add missing deinit call
1 parent bd01d31 commit c023ec0

File tree

1 file changed

+1
-0
lines changed
  • ports/raspberrypi/common-hal/audiobusio

1 file changed

+1
-0
lines changed

ports/raspberrypi/common-hal/audiobusio/PDMIn.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ void common_hal_audiobusio_pdmin_deinit(audiobusio_pdmin_obj_t* self) {
9393
if (common_hal_audiobusio_pdmin_deinited(self)) {
9494
return;
9595
}
96+
return common_hal_rp2pio_statemachine_deinit(&self->state_machine);
9697
}
9798

9899
uint8_t common_hal_audiobusio_pdmin_get_bit_depth(audiobusio_pdmin_obj_t* self) {

0 commit comments

Comments
 (0)