summaryrefslogtreecommitdiffstatshomepage
path: root/drivers/wiznet5k/ethernet/wizchip_conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/wiznet5k/ethernet/wizchip_conf.c')
-rw-r--r--drivers/wiznet5k/ethernet/wizchip_conf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/wiznet5k/ethernet/wizchip_conf.c b/drivers/wiznet5k/ethernet/wizchip_conf.c
index 110e284bbc..3e54d2c90b 100644
--- a/drivers/wiznet5k/ethernet/wizchip_conf.c
+++ b/drivers/wiznet5k/ethernet/wizchip_conf.c
@@ -49,6 +49,8 @@
//
#include "wizchip_conf.h"
+#include "socket.h"
+
/**
* @brief Default function to enable interrupt.
* @note This function help not to access wrong address. If you do not describe this function or register any functions,
@@ -328,6 +330,9 @@ int8_t wizchip_init(uint8_t* txsize, uint8_t* rxsize)
for(i = 0 ; i < _WIZCHIP_SOCK_NUM_; i++)
setSn_RXBUF_SIZE(i, rxsize[i]);
}
+
+ WIZCHIP_EXPORT(socket_reset)();
+
return 0;
}