Skip to content

Commit c6ad46a

Browse files
committed
rename pins per suggestion from @RetiredWizard
1 parent 2ef9b13 commit c6ad46a

File tree

1 file changed

+3
-3
lines changed
  • ports/espressif/boards/m5stack_cardputer

1 file changed

+3
-3
lines changed

ports/espressif/boards/m5stack_cardputer/pins.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
2929
{ MP_ROM_QSTR(MP_QSTR_NEOPIXEL), MP_ROM_PTR(&pin_GPIO21) },
3030

3131
// Speaker
32-
{ MP_ROM_QSTR(MP_QSTR_D41), MP_ROM_PTR(&pin_GPIO41) },
33-
{ MP_ROM_QSTR(MP_QSTR_D42), MP_ROM_PTR(&pin_GPIO42) },
34-
{ MP_ROM_QSTR(MP_QSTR_D43), MP_ROM_PTR(&pin_GPIO43) },
32+
{ MP_ROM_QSTR(MP_QSTR_I2S_BIT_CLOCK), MP_ROM_PTR(&pin_GPIO41) },
33+
{ MP_ROM_QSTR(MP_QSTR_IS2_DATA), MP_ROM_PTR(&pin_GPIO42) },
34+
{ MP_ROM_QSTR(MP_QSTR_I2S_WORD_SELECT), MP_ROM_PTR(&pin_GPIO43) },
3535

3636
// Mic
3737
{ MP_ROM_QSTR(MP_QSTR_MIC_DATA), MP_ROM_PTR(&pin_GPIO46) },

0 commit comments

Comments
 (0)