Skip to content

Commit ab3e778

Browse files
Jordan Yatesgalak
Jordan Yates
authored andcommitted
wifi: winc1500: Add chip select flags
Adds the chip select devicetree flags to the spi_cs_control instance. Signed-off-by: Jordan Yates <[email protected]>
1 parent ac66b76 commit ab3e778

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/wifi/winc1500/wifi_winc1500_nm_bus_wrapper.c

+1
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ int8_t nm_bus_init(void *pvinit)
155155
}
156156

157157
cs_ctrl.gpio_pin = DT_INST_SPI_DEV_CS_GPIOS_PIN(0);
158+
cs_ctrl.gpio_dt_flags = DT_INST_SPI_DEV_CS_GPIOS_FLAGS(0);
158159
cs_ctrl.delay = 0U;
159160

160161
winc1500.spi_cfg.cs = &cs_ctrl;

0 commit comments

Comments
 (0)