Merge pull request #8586 from lookfwd/fix_8570b
Consistency improvement on I2S mclk support for Espressif port #8570
This commit is contained in:
commit
7029f7295c
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue