Merge pull request #5984 from DavePutz/issue_5967
Correcting order of sideset parameters in function call
This commit is contained in:
commit
566f8bed99
@ -127,14 +127,14 @@ void common_hal_audiobusio_i2sout_construct(audiobusio_i2sout_obj_t *self,
|
|||||||
0, 0, // in pulls
|
0, 0, // in pulls
|
||||||
NULL, 0, 0, 0x1f, // set pins
|
NULL, 0, 0, 0x1f, // set pins
|
||||||
bit_clock, 2, 0, 0x1f, // sideset pins
|
bit_clock, 2, 0, 0x1f, // sideset pins
|
||||||
|
false, // No sideset enable
|
||||||
NULL, // jump pin
|
NULL, // jump pin
|
||||||
0, // wait gpio pins
|
0, // wait gpio pins
|
||||||
true, // exclusive pin use
|
true, // exclusive pin use
|
||||||
false, 32, false, // shift out left to start with MSB
|
false, 32, false, // shift out left to start with MSB
|
||||||
false, // Wait for txstall
|
false, // Wait for txstall
|
||||||
false, 32, false, // in settings
|
false, 32, false, // in settings
|
||||||
false, // Not user-interruptible.
|
false); // Not user-interruptible.
|
||||||
false); // No sideset enable
|
|
||||||
|
|
||||||
self->playing = false;
|
self->playing = false;
|
||||||
audio_dma_init(&self->dma);
|
audio_dma_init(&self->dma);
|
||||||
|
@ -71,14 +71,14 @@ void common_hal_audiobusio_pdmin_construct(audiobusio_pdmin_obj_t *self,
|
|||||||
0, 0, // in pulls
|
0, 0, // in pulls
|
||||||
NULL, 0, 0, 0x1f, // set pins
|
NULL, 0, 0, 0x1f, // set pins
|
||||||
clock_pin, 1, 0, 0x1f, // sideset pins
|
clock_pin, 1, 0, 0x1f, // sideset pins
|
||||||
|
false, // No sideset enable
|
||||||
NULL, // jump pin
|
NULL, // jump pin
|
||||||
0, // wait gpio pins
|
0, // wait gpio pins
|
||||||
true, // exclusive pin use
|
true, // exclusive pin use
|
||||||
false, 32, false, // out settings
|
false, 32, false, // out settings
|
||||||
false, // Wait for txstall
|
false, // Wait for txstall
|
||||||
false, 32, true, // in settings
|
false, 32, true, // in settings
|
||||||
false, // Not user-interruptible.
|
false); // Not user-interruptible.
|
||||||
false); // No sideset enable
|
|
||||||
|
|
||||||
uint32_t actual_frequency = common_hal_rp2pio_statemachine_get_frequency(&self->state_machine);
|
uint32_t actual_frequency = common_hal_rp2pio_statemachine_get_frequency(&self->state_machine);
|
||||||
if (actual_frequency < MIN_MIC_CLOCK) {
|
if (actual_frequency < MIN_MIC_CLOCK) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user