8000 Fix GPIO pin assignments for BTN5 and BUTTON in oxocard_connect board · supcik/circuitpython@48858c1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 48858c1

Browse files
committed
Fix GPIO pin assignments for BTN5 and BUTTON in oxocard_connect board
1 parent 57cf054 commit 48858c1

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

locale/circuitpython.pot

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ msgstr ""
218218
#: ports/raspberrypi/bindings/cyw43/__init__.c py/argcheck.c py/objexcept.c
219219
#: shared-bindings/bitmapfilter/__init__.c shared-bindings/canio/CAN.c
220220
#: shared-bindings/digitalio/Pull.c shared-bindings/supervisor/__init__.c
221-
#: shared-module/synthio/Synthesizer.c
221+
#: shared-module/synthio/Biquad.c shared-module/synthio/Synthesizer.c
222222
msgid "%q must be of type %q or %q, not %q"
223223
msgstr ""
224224

@@ -3383,10 +3383,6 @@ msgstr ""
33833383
msgid "label redefined"
33843384
msgstr ""
33853385

3386-
#: shared-bindings/audiomixer/MixerVoice.c
3387-
msgid "level must be between 0 and 1"
3388-
msgstr ""
3389-
33903386
#: py/objarray.c
33913387
msgid "lhs and rhs should be compatible"
33923388
msgstr ""

ports/espressif/boards/oxocard_connect/pins.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ CIRCUITPY_BOARD_BUS_SINGLETON(stemma_i2c, i2c, 1)
1212
static const mp_rom_map_elem_t board_module_globals_table[] = {
1313
CIRCUITPYTHON_BOARD_DICT_STANDARD_ITEMS
1414

15-
{ MP_ROM_QSTR(MP_QSTR_BTN5), MP_ROM_PTR(&pin_GPIO0) },
16-
{ MP_ROM_QSTR(MP_QSTR_BUTTON), MP_ROM_PTR(&pin_GPIO0) },
15+
{ MP_ROM_QSTR(MP_QSTR_BTN5), MP_ROM_PTR(&pin_GPIO5) },
16+
{ MP_ROM_QSTR(MP_QSTR_BUTTON), MP_ROM_PTR(&pin_GPIO5) },
1717
{ MP_ROM_QSTR(MP_QSTR_BOOT0), MP_ROM_PTR(&pin_GPIO0) },
1818

1919
{ MP_ROM_QSTR(MP_QSTR_LCD_LED), MP_ROM_PTR(&pin_GPIO19) },
@@ -39,7 +39,6 @@ static const mp_rom_map_elem_t board_module_globals_table[] = {
3939
{ MP_ROM_QSTR(MP_QSTR_IN06), MP_ROM_PTR(&pin_GPIO34) },
4040
{ MP_ROM_QSTR(MP_QSTR_IN07), MP_ROM_PTR(&pin_GPIO35) },
4141

42-
4342
{ MP_ROM_QSTR(MP_QSTR_I2C), MP_ROM_PTR(&board_i2c_obj) },
4443
{ MP_ROM_QSTR(MP_QSTR_SPI), MP_ROM_PTR(&board_spi_obj 3D1C ) },
4544
{ MP_ROM_QSTR(MP_QSTR_UART), MP_ROM_PTR(&board_uart_obj) },

0 commit comments

Comments
 (0)
0