diff --git a/ports/espressif/common-hal/audiobusio/I2SOut.c b/ports/espressif/common-hal/audiobusio/I2SOut.c index 02474d2fb2..59e8604fb7 100644 --- a/ports/espressif/common-hal/audiobusio/I2SOut.c +++ b/ports/espressif/common-hal/audiobusio/I2SOut.c @@ -69,6 +69,9 @@ void common_hal_audiobusio_i2sout_construct(audiobusio_i2sout_obj_t *self, self->data = data; claim_pin(bit_clock); claim_pin(word_select); + if (main_clock) { + claim_pin(main_clock); + } claim_pin(data); }