Skip to content

Commit 4974c93

Browse files
committed
Fix swapped SCK and MISO in Fluff M0
1 parent 4c01ddc commit 4974c93

File tree

1 file changed

+2
-2
lines changed
  • ports/atmel-samd/boards/fluff_m0

1 file changed

+2
-2
lines changed

ports/atmel-samd/boards/fluff_m0/pins.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
1111
{ MP_ROM_QSTR(MP_QSTR_A5), MP_ROM_PTR(&pin_PA09) },
1212
{ MP_ROM_QSTR(MP_QSTR_A6), MP_ROM_PTR(&pin_PA07) },
1313

14-
{ MP_ROM_QSTR(MP_QSTR_SCK), MP_ROM_PTR(&pin_PA30) },
14+
{ MP_ROM_QSTR(MP_QSTR_SCK), MP_ROM_PTR(&pin_PA31) },
1515
{ MP_ROM_QSTR(MP_QSTR_MOSI), MP_ROM_PTR(&pin_PA00) },
16-
{ MP_ROM_QSTR(MP_QSTR_MISO), MP_ROM_PTR(&pin_PA31) },
16+
{ MP_ROM_QSTR(MP_QSTR_MISO), MP_ROM_PTR(&pin_PA30) },
1717

1818
{ MP_ROM_QSTR(MP_QSTR_D0), MP_ROM_PTR(&pin_PA11) },
1919
{ MP_ROM_QSTR(MP_QSTR_RX), MP_ROM_PTR(&pin_PA11) },

0 commit comments

Comments
 (0)