|
|
@@ -5,6 +5,7 @@
|
|
|
* Author: wulianwei
|
|
|
*/
|
|
|
|
|
|
+#include "nim_config.h"
|
|
|
#include "device/console.h"
|
|
|
#include "hal/nim_ethernet.h"
|
|
|
#include "lwiplib.h"
|
|
|
@@ -22,7 +23,7 @@ static err_t tcp_recv_handle(void *arg, struct tcp_pcb *pcb, struct pbuf *p, err
|
|
|
static void tcp_close_conn(struct tcp_pcb *pcb);
|
|
|
err_t tcp_send_data(struct tcp_pcb *pcb, struct pbuf *p);
|
|
|
|
|
|
-static udp_pcb *gui_udp_pcb;
|
|
|
+static struct udp_pcb *gui_udp_pcb;
|
|
|
|
|
|
void lwip_device_init(void)
|
|
|
{
|