Skip to content
Snippets Groups Projects
Commit 431603ad authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

esp8266: esp_connect(): The function is now vararg.

Fixes regression from a previous commit.
parent a19ba5fe
Branches
No related tags found
No related merge requests found
...@@ -549,7 +549,7 @@ STATIC mp_obj_t esp_connect(mp_uint_t n_args, const mp_obj_t *args) { ...@@ -549,7 +549,7 @@ STATIC mp_obj_t esp_connect(mp_uint_t n_args, const mp_obj_t *args) {
return mp_const_none; return mp_const_none;
} }
STATIC MP_DEFINE_CONST_FUN_OBJ_2(esp_connect_obj, esp_connect); STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(esp_connect_obj, 2, 6, esp_connect);
STATIC mp_obj_t esp_disconnect() { STATIC mp_obj_t esp_disconnect() {
error_check(wifi_station_disconnect(), "Cannot disconnect from AP"); error_check(wifi_station_disconnect(), "Cannot disconnect from AP");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment