kopia lustrzana https://github.com/micropython/micropython
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.pull/1305/head
rodzic
2ffb6e1b15
commit
a32538bb66
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue