We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c04489c commit c8499a5Copy full SHA for c8499a5
ports/raspberrypi/common-hal/audiobusio/I2S.c
@@ -76,14 +76,14 @@ void common_hal_audiobusio_i2s_construct(audiobusio_i2s_obj_t *self,
76
sample_rate * bits_per_sample * 16, // Frequency based on sample rate and bit width
77
NULL, 0, // init
78
NULL, 0, // may_exec
79
- data_out, 1, 0, 0xffffffff, // out pin
+ data_out, 1, PIO_PINMASK32_NONE, PIO_PINMASK32_ALL, // out pin
80
data_in, 1, // in pins
81
- 0, 0, // in pulls
82
- NULL, 1, 0, 0, // set pins
83
- sideset_pin, 2, false, 0, 0x1f, // sideset pins
+ PIO_PINMASK32_NONE, PIO_PINMASK32_NONE, // in pulls
+ NULL, 1, PIO_PINMASK32_NONE, PIO_PINMASK32_NONE, // set pins
+ sideset_pin, 2, false, PIO_PINMASK32_NONE, PIO_PINMASK32_FROM_VALUE(0x1f), // sideset pins
84
false, // No sideset enable
85
NULL, PULL_NONE, // jump pin
86
- 0, // wait gpio pins
+ PIO_PINMASK_NONE, // wait gpio pins
87
true, // exclusive pin use
88
false, 32, false, // out settings
89
false, // Wait for txstall
ports/raspberrypi/common-hal/audiobusio/I2SIn.c
@@ -209,14 +209,14 @@ void common_hal_audiobusio_i2sin_construct(audiobusio_i2sin_obj_t *self,
209
sample_rate * bits_per_sample * 2 * 4, // Frequency based on sample rate and bit width
210
211
212
- NULL, 1, 0, 0, // out pin
+ NULL, 1, PIO_PINMASK32_NONE, PIO_PINMASK32_NONE, // out pin
213
data, 1, // in pins
214
215
216
217
218
219
220
221
false, 8, false, // out settings
222
0 commit comments