Commit a32538bb authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

esp8266: Do not call espconn_create in constructor of esp.socket.

Turns out this is supposed to be called only for UDP connections.

Patch by Josef Gajdusek.
parent 2ffb6e1b
......@@ -86,7 +86,6 @@ STATIC mp_obj_t esp_socket_make_new(mp_obj_t type_in, mp_uint_t n_args,
esp_socket_obj_t *s = esp_socket_make_new_base();
s->espconn = m_new_obj(struct espconn);
espconn_create(s->espconn);
s->espconn->reverse = s;
// TODO: UDP Support
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment