diff options
| author | Daniel Campora | 2015-06-29 09:55:28 +0200 |
|---|---|---|
| committer | Daniel Campora | 2015-06-29 11:01:11 +0200 |
| commit | 5ebf39784aafd2ea6186b3b7058b741f6266bf67 (patch) | |
| tree | e27d7ec9ef88d462df0991a8da71837c8b35104f /cc3200/mods/modwlan.h | |
| parent | 9780e552748842d6f76f7a1a7f390287552844f1 (diff) | |
cc3200: Correct socket settimeout time format.
Diffstat (limited to 'cc3200/mods/modwlan.h')
| -rw-r--r-- | cc3200/mods/modwlan.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc3200/mods/modwlan.h b/cc3200/mods/modwlan.h index 82fe4f8c6..a811afdd7 100644 --- a/cc3200/mods/modwlan.h +++ b/cc3200/mods/modwlan.h @@ -76,7 +76,7 @@ extern int wlan_socket_recv(mod_network_socket_obj_t *s, byte *buf, mp_uint_t le extern int wlan_socket_sendto( mod_network_socket_obj_t *s, const byte *buf, mp_uint_t len, byte *ip, mp_uint_t port, int *_errno); extern int wlan_socket_recvfrom(mod_network_socket_obj_t *s, byte *buf, mp_uint_t len, byte *ip, mp_uint_t *port, int *_errno); extern int wlan_socket_setsockopt(mod_network_socket_obj_t *socket, mp_uint_t level, mp_uint_t opt, const void *optval, mp_uint_t optlen, int *_errno); -extern int wlan_socket_settimeout(mod_network_socket_obj_t *s, mp_uint_t timeout_ms, int *_errno); +extern int wlan_socket_settimeout(mod_network_socket_obj_t *s, mp_uint_t timeout_s, int *_errno); extern int wlan_socket_ioctl (mod_network_socket_obj_t *s, mp_uint_t request, mp_uint_t arg, int *_errno); #endif /* MODWLAN_H_ */ |
