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
2d56df67
Commit
2d56df67
authored
May 05, 2015
by
Josef Gajdusek
Committed by
Damien George
May 06, 2015
Browse files
esp8266: Initialize socket->connlist to NULL
This was causing crashes in .onconnect()
parent
57ebe1b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
esp8266/modesp.c
View file @
2d56df67
...
...
@@ -70,6 +70,7 @@ STATIC mp_obj_t esp_socket_make_new_base() {
s
->
cb_recv
=
mp_const_none
;
s
->
cb_disconnect
=
mp_const_none
;
s
->
fromserver
=
false
;
s
->
connlist
=
NULL
;
return
s
;
}
...
...
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