File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ config ETH_ENC28J60_RX_THREAD_PRIO
2929 Priority level for internal thread which is ran for incoming
3030 packet processing.
3131
32- config ETH_EN28J60_TIMEOUT
32+ config ETH_ENC28J60_TIMEOUT
3333 int "IP buffer timeout"
3434 depends on ETH_ENC28J60
3535 default 100
@@ -45,7 +45,7 @@ config ETH_ENC28J60_0
4545 Include port 0 driver
4646
4747if ETH_ENC28J60 && ETH_ENC28J60_0
48- config ETH_EN28J60_0_FULL_DUPLEX
48+ config ETH_ENC28J60_0_FULL_DUPLEX
4949 bool "ENC28J60 full duplex"
5050 default y
5151 help
Original file line number Diff line number Diff line change @@ -767,8 +767,8 @@ static const struct eth_enc28j60_config eth_enc28j60_0_config = {
767767 .spi_cs_port = DT_MICROCHIP_ENC28J60_0_CS_GPIO_CONTROLLER ,
768768 .spi_cs_pin = DT_MICROCHIP_ENC28J60_0_CS_GPIO_PIN ,
769769#endif /* CONFIG_ETH_ENC28J60_0_GPIO_SPI_CS */
770- .full_duplex = CONFIG_ETH_EN28J60_0_FULL_DUPLEX ,
771- .timeout = CONFIG_ETH_EN28J60_TIMEOUT ,
770+ .full_duplex = IS_ENABLED ( CONFIG_ETH_ENC28J60_0_FULL_DUPLEX ) ,
771+ .timeout = CONFIG_ETH_ENC28J60_TIMEOUT ,
772772};
773773
774774NET_DEVICE_INIT (enc28j60_0 , DT_MICROCHIP_ENC28J60_0_LABEL ,
You can’t perform that action at this time.
0 commit comments