From 5865b2859216b2ef059abadaf99d761d8dfcb682 Mon Sep 17 00:00:00 2001 From: Carlos Date: Mon, 15 Apr 2019 22:22:38 -0500 Subject: [PATCH] [audiobusio-I2SOut] Fix translation error --- ports/atmel-samd/common-hal/audiobusio/I2SOut.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ports/atmel-samd/common-hal/audiobusio/I2SOut.c b/ports/atmel-samd/common-hal/audiobusio/I2SOut.c index 1c18f89bf7..dca6457fa2 100644 --- a/ports/atmel-samd/common-hal/audiobusio/I2SOut.c +++ b/ports/atmel-samd/common-hal/audiobusio/I2SOut.c @@ -144,10 +144,10 @@ void common_hal_audiobusio_i2sout_construct(audiobusio_i2sout_obj_t* self, } #endif if (bc_clock_unit == 0xff) { - mp_raise_ValueError_varg(translate("Invalid %q pin", MP_QSTR_bit_clock)); + mp_raise_ValueError_varg(translate("Invalid %q pin"), MP_QSTR_bit_clock); } if (ws_clock_unit == 0xff) { - mp_raise_ValueError_varg(translate("Invalid %q pin", MP_QSTR_ws_clock)); + mp_raise_ValueError_varg(translate("Invalid %q pin"), MP_QSTR_ws_clock); } if (bc_clock_unit != ws_clock_unit) { mp_raise_ValueError(translate("Bit clock and word select must share a clock unit"));