Skip to content

Commit bd207e4

Browse files
authored
Merge pull request #5735 from tannewt/kb2040_clk_pin
Add alternative clock pin name to match silkscreen
2 parents 1ec3e02 + 7c2e7bf commit bd207e4

File tree

1 file changed

+1
-0
lines changed
  • ports/raspberrypi/boards/adafruit_kb2040

1 file changed

+1
-0
lines changed

ports/raspberrypi/boards/adafruit_kb2040/pins.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
88
{ MP_ROM_QSTR(MP_QSTR_A2), MP_ROM_PTR(&pin_GPIO28) },
99
{ MP_ROM_QSTR(MP_QSTR_A3), MP_ROM_PTR(&pin_GPIO29) },
1010

11+
{ MP_ROM_QSTR(MP_QSTR_CLK), MP_ROM_PTR(&pin_GPIO18) },
1112
{ MP_ROM_QSTR(MP_QSTR_SCK), MP_ROM_PTR(&pin_GPIO18) },
1213
{ MP_ROM_QSTR(MP_QSTR_MOSI), MP_ROM_PTR(&pin_GPIO19) },
1314
{ MP_ROM_QSTR(MP_QSTR_MISO), MP_ROM_PTR(&pin_GPIO20) },

0 commit comments

Comments
 (0)