drivers: eth_enc28j60: fix typo and build for half duplex
Fix typo and build for half duplex configuration. Signed-off-by: Johann Fischer <j.fischer@phytec.de>
This commit is contained in:
parent
fe06e4276f
commit
45c6ead099
2 changed files with 4 additions and 4 deletions
|
@ -767,8 +767,8 @@ static const struct eth_enc28j60_config eth_enc28j60_0_config = {
|
|||
.spi_cs_port = DT_MICROCHIP_ENC28J60_0_CS_GPIO_CONTROLLER,
|
||||
.spi_cs_pin = DT_MICROCHIP_ENC28J60_0_CS_GPIO_PIN,
|
||||
#endif /* CONFIG_ETH_ENC28J60_0_GPIO_SPI_CS */
|
||||
.full_duplex = CONFIG_ETH_EN28J60_0_FULL_DUPLEX,
|
||||
.timeout = CONFIG_ETH_EN28J60_TIMEOUT,
|
||||
.full_duplex = IS_ENABLED(CONFIG_ETH_ENC28J60_0_FULL_DUPLEX),
|
||||
.timeout = CONFIG_ETH_ENC28J60_TIMEOUT,
|
||||
};
|
||||
|
||||
NET_DEVICE_INIT(enc28j60_0, DT_MICROCHIP_ENC28J60_0_LABEL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue