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 65cc366 commit 5865b28Copy full SHA for 5865b28
ports/atmel-samd/common-hal/audiobusio/I2SOut.c
@@ -144,10 +144,10 @@ void common_hal_audiobusio_i2sout_construct(audiobusio_i2sout_obj_t* self,
144
}
145
#endif
146
if (bc_clock_unit == 0xff) {
147
- mp_raise_ValueError_varg(translate("Invalid %q pin", MP_QSTR_bit_clock));
+ mp_raise_ValueError_varg(translate("Invalid %q pin"), MP_QSTR_bit_clock);
148
149
if (ws_clock_unit == 0xff) {
150
- mp_raise_ValueError_varg(translate("Invalid %q pin", MP_QSTR_ws_clock));
+ mp_raise_ValueError_varg(translate("Invalid %q pin"), MP_QSTR_ws_clock);
151
152
if (bc_clock_unit != ws_clock_unit) {
153
mp_raise_ValueError(translate("Bit clock and word select must share a clock unit"));
0 commit comments