19 lines
382 B
C
19 lines
382 B
C
#ifndef __USER_MAIN_H__
|
|
#define __USER_MAIN_H__
|
|
|
|
#include "wizchip_conf.h" // 加入這行以識別 wiz_NetInfo 型別
|
|
|
|
// 透過 extern 將網路配置參數暴露給 main.c 使用
|
|
extern wiz_NetInfo default_net_info;
|
|
#define SOCKET_ID 0
|
|
#define ETHERNET_BUF_MAX_SIZE (1024 * 2)
|
|
|
|
/**
|
|
* @brief User Run Program
|
|
* @param none
|
|
* @return none
|
|
*/
|
|
|
|
void user_run(void);
|
|
#endif
|