Consistency improvement on I2S mclk support for Espressif port #8570

This commit is contained in:
Dimitrios Kouzis-Loukas 2023-11-11 05:47:21 -05:00
parent 1dec24c48b
commit 07050f2e6f

View File

@ -69,6 +69,9 @@ void common_hal_audiobusio_i2sout_construct(audiobusio_i2sout_obj_t *self,
self->data = data; self->data = data;
claim_pin(bit_clock); claim_pin(bit_clock);
claim_pin(word_select); claim_pin(word_select);
if (main_clock) {
claim_pin(main_clock);
}
claim_pin(data); claim_pin(data);
} }