Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
82d08dcc
Commit
82d08dcc
authored
May 05, 2015
by
Josef Gajdusek
Committed by
Damien George
May 05, 2015
Browse files
esp8266: Fix endian of address returned by esp.getaddrinfo()
parent
8872abcb
Changes
1
Hide whitespace changes
Inline
Side-by-side
esp8266/modesp.c
View file @
82d08dcc
...
...
@@ -413,7 +413,7 @@ STATIC void esp_getaddrinfo_cb(const char *name, ip_addr_t *ipaddr, void *arg) {
tuple
->
items
[
2
]
=
MP_OBJ_NEW_SMALL_INT
(
0
);
tuple
->
items
[
3
]
=
MP_OBJ_NEW_QSTR
(
MP_QSTR_
);
tuple
->
items
[
4
]
=
netutils_format_inet_addr
(
ip
,
esp_getaddrinfo_cb_struct
.
port
,
NETUTILS_
BIG
);
esp_getaddrinfo_cb_struct
.
port
,
NETUTILS_
LITTLE
);
call_function_2_protected
(
esp_getaddrinfo_cb_struct
.
lambda
,
namestr
,
tuple
);
}
else
{
call_function_2_protected
(
esp_getaddrinfo_cb_struct
.
lambda
,
namestr
,
mp_const_none
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment