Merge pull request #21 from chenyong111/chenyong

【修改】删除 C99 依赖
This commit is contained in:
朱天龙 (Armink) 2018-08-28 15:55:25 +08:00 committed by GitHub
commit 113eaa8771
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 10 deletions

View File

@ -678,11 +678,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)

View File

@ -883,11 +883,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)