【修改】删除 C99 依赖
Signed-off-by: chenyong <1521761801@qq.com>
This commit is contained in:
parent
63b73a2996
commit
ffb66c53b7
|
@ -675,11 +675,11 @@ MSH_CMD_EXPORT_ALIAS(esp8266_ping, at_ping, AT ping network host);
|
|||
#endif
|
||||
|
||||
static const struct at_device_ops esp8266_socket_ops = {
|
||||
.connect = esp8266_socket_connect,
|
||||
.close = esp8266_socket_close,
|
||||
.send = esp8266_socket_send,
|
||||
.domain_resolve = esp8266_domain_resolve,
|
||||
.set_event_cb = esp8266_socket_set_event_cb,
|
||||
esp8266_socket_connect,
|
||||
esp8266_socket_close,
|
||||
esp8266_socket_send,
|
||||
esp8266_domain_resolve,
|
||||
esp8266_socket_set_event_cb,
|
||||
};
|
||||
|
||||
static int at_socket_device_init(void)
|
||||
|
|
|
@ -880,11 +880,11 @@ MSH_CMD_EXPORT_ALIAS(m26_ifconfig, at_ifconfig, list the information of network
|
|||
#endif
|
||||
|
||||
static const struct at_device_ops m26_socket_ops = {
|
||||
.connect = m26_socket_connect,
|
||||
.close = m26_socket_close,
|
||||
.send = m26_socket_send,
|
||||
.domain_resolve = m26_domain_resolve,
|
||||
.set_event_cb = m26_socket_set_event_cb,
|
||||
m26_socket_connect,
|
||||
m26_socket_close,
|
||||
m26_socket_send,
|
||||
m26_domain_resolve,
|
||||
m26_socket_set_event_cb,
|
||||
};
|
||||
|
||||
static int at_socket_device_init(void)
|
||||
|
|
Loading…
Reference in New Issue