Skip to content

Commit a4b8afb

Browse files
authored
Merge pull request #8466 from heygauri/fix-i2s-error-message
Refine error message for rp2040 audiobusio I2S object creation
2 parents 3febd56 + e1d364d commit a4b8afb

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

locale/circuitpython.pot

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ msgid "Below minimum frame rate"
628628
msgstr ""
629629

630630
#: ports/raspberrypi/common-hal/audiobusio/I2SOut.c
631-
msgid "Bit clock and word select must be sequential pins"
631+
msgid "Bit clock and word select must be sequential GPIO pins"
632632
msgstr ""
633633

634634
#: ports/atmel-samd/common-hal/audiobusio/I2SOut.c
@@ -1100,8 +1100,6 @@ msgstr ""
11001100
msgid "Generic Failure"
11011101
msgstr ""
11021102

1103-
#: shared-bindings/displayio/Display.c
1104-
#: shared-bindings/displayio/EPaperDisplay.c
11051103
#: shared-bindings/framebufferio/FramebufferDisplay.c
11061104
#: shared-module/displayio/Display.c
11071105
#: shared-module/framebufferio/FramebufferDisplay.c

ports/raspberrypi/common-hal/audiobusio/I2SOut.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ void common_hal_audiobusio_i2sout_construct(audiobusio_i2sout_obj_t *self,
108108
mp_raise_NotImplementedError_varg(translate("%q"), MP_QSTR_main_clock);
109109
}
110110
if (bit_clock->number != word_select->number - 1) {
111-
mp_raise_ValueError(translate("Bit clock and word select must be sequential pins"));
111+
mp_raise_ValueError(translate("Bit clock and word select must be sequential GPIO pins"));
112112
}
113113

114114
const uint16_t *program = i2s_program;

0 commit comments

Comments
 (0)