Skip to content

Commit 5e28e2d

Browse files
committed
Rename .SPI() to .W5K_SPI()
1 parent bb43486 commit 5e28e2d

File tree

3 files changed

+3
-3
lines changed
  • ports/raspberrypi/boards

3 files changed

+3
-3
lines changed

ports/raspberrypi/boards/wiznet_w5100s_evb_pico/pins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ static const mp_rom_map_elem_t board_module_globals_table[] = {
7070
{ MP_ROM_QSTR(MP_QSTR_A3), MP_ROM_PTR(&pin_GPIO29) },
7171
{ MP_ROM_QSTR(MP_QSTR_VOLTAGE_MONITOR), MP_ROM_PTR(&pin_GPIO29) },
7272

73-
{ MP_ROM_QSTR(MP_QSTR_SPI), MP_ROM_PTR(&board_spi_obj) },
73+
{ MP_ROM_QSTR(MP_QSTR_W5K_SPI), MP_ROM_PTR(&board_spi_obj) },
7474
{ MP_ROM_QSTR(MP_QSTR_UART), MP_ROM_PTR(&board_uart_obj) },
7575
{ MP_ROM_QSTR(MP_QSTR_STEMMA_I2C), MP_ROM_PTR(&board_i2c_obj) },
7676
};

ports/raspberrypi/boards/wiznet_w5100s_evb_pico2/pins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ static const mp_rom_map_elem_t board_module_globals_table[] = {
7070
{ MP_ROM_QSTR(MP_QSTR_A3), MP_ROM_PTR(&pin_GPIO29) },
7171
{ MP_ROM_QSTR(MP_QSTR_VOLTAGE_MONITOR), MP_ROM_PTR(&pin_GPIO29) },
7272

73-
{ MP_ROM_QSTR(MP_QSTR_SPI), MP_ROM_PTR(&board_spi_obj) },
73+
{ MP_ROM_QSTR(MP_QSTR_W5K_SPI), MP_ROM_PTR(&board_spi_obj) },
7474
{ MP_ROM_QSTR(MP_QSTR_UART), MP_ROM_PTR(&board_uart_obj) },
7575
{ MP_ROM_QSTR(MP_QSTR_STEMMA_I2C), MP_ROM_PTR(&board_i2c_obj) },
7676
};

ports/raspberrypi/boards/wiznet_w5500_evb_pico/pins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ static const mp_rom_map_elem_t board_module_globals_table[] = {
7070
{ MP_ROM_QSTR(MP_QSTR_A3), MP_ROM_PTR(&pin_GPIO29) },
7171
{ MP_ROM_QSTR(MP_QSTR_VOLTAGE_MONITOR), MP_ROM_PTR(&pin_GPIO29) },
7272

73-
{ MP_ROM_QSTR(MP_QSTR_SPI), MP_ROM_PTR(&board_spi_obj) },
73+
{ MP_ROM_QSTR(MP_QSTR_W5K_SPI), MP_ROM_PTR(&board_spi_obj) },
7474
{ MP_ROM_QSTR(MP_QSTR_UART), MP_ROM_PTR(&board_uart_obj) },
7575
{ MP_ROM_QSTR(MP_QSTR_STEMMA_I2C), MP_ROM_PTR(&board_i2c_obj) },
7676
};

0 commit comments

Comments
 (0)