diff --git a/Target/Demo/ARMCM4_XMC4_XMC4700_Relax_Kit_GCC/Boot/Libraries/uip/netdev.c b/Target/Demo/ARMCM4_XMC4_XMC4700_Relax_Kit_GCC/Boot/Libraries/uip/netdev.c index 2383861a..a34fef21 100644 --- a/Target/Demo/ARMCM4_XMC4_XMC4700_Relax_Kit_GCC/Boot/Libraries/uip/netdev.c +++ b/Target/Demo/ARMCM4_XMC4_XMC4700_Relax_Kit_GCC/Boot/Libraries/uip/netdev.c @@ -131,7 +131,7 @@ XMC_ETH_MAC_t eth_mac = /*---------------------------------------------------------------------------*/ void netdev_init(void) { - XMC_ETH_MAC_PORT_CTRL_t port_control = { 0 }; + XMC_ETH_MAC_PORT_CTRL_t port_control; XMC_GPIO_CONFIG_t gpio_config; gpio_config.output_level = XMC_GPIO_OUTPUT_LEVEL_LOW; gpio_config.mode = XMC_GPIO_MODE_INPUT_TRISTATE; diff --git a/Target/Demo/ARMCM4_XMC4_XMC4700_Relax_Kit_GCC/Prog/Libraries/uip/netdev.c b/Target/Demo/ARMCM4_XMC4_XMC4700_Relax_Kit_GCC/Prog/Libraries/uip/netdev.c index 78ad4eed..d11cde76 100644 --- a/Target/Demo/ARMCM4_XMC4_XMC4700_Relax_Kit_GCC/Prog/Libraries/uip/netdev.c +++ b/Target/Demo/ARMCM4_XMC4_XMC4700_Relax_Kit_GCC/Prog/Libraries/uip/netdev.c @@ -131,8 +131,8 @@ XMC_ETH_MAC_t eth_mac = /*---------------------------------------------------------------------------*/ void netdev_init(void) { - XMC_ETH_MAC_PORT_CTRL_t port_control = { 0 }; - XMC_GPIO_CONFIG_t gpio_confi; + XMC_ETH_MAC_PORT_CTRL_t port_control; + XMC_GPIO_CONFIG_t gpio_config; gpio_config.output_level = XMC_GPIO_OUTPUT_LEVEL_LOW; gpio_config.mode = XMC_GPIO_MODE_INPUT_TRISTATE;