Skip to content

Commit ae923db

Browse files
committed
Add SPEAKER_ENABLE pin to MacroPad.
1 parent 0569c20 commit ae923db

File tree

1 file changed

+2
-0
lines changed
  • ports/raspberrypi/boards/adafruit_macropad_rp2040

1 file changed

+2
-0
lines changed

ports/raspberrypi/boards/adafruit_macropad_rp2040/pins.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
1717

1818
{ MP_ROM_QSTR(MP_QSTR_LED), MP_ROM_PTR(&pin_GPIO13) },
1919

20+
// SPEAKER_SHUTDOWN is deprecated and will be removed in a future release.
2021
{ MP_ROM_QSTR(MP_QSTR_SPEAKER_SHUTDOWN), MP_ROM_PTR(&pin_GPIO14) },
22+
{ MP_ROM_QSTR(MP_QSTR_SPEAKER_ENABLE), MP_ROM_PTR(&pin_GPIO14) },
2123
{ MP_ROM_QSTR(MP_QSTR_SPEAKER), MP_ROM_PTR(&pin_GPIO16) },
2224

2325
{ MP_ROM_QSTR(MP_QSTR_ENCODER_SWITCH), MP_ROM_PTR(&pin_GPIO0) },

0 commit comments

Comments
 (0)