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
431603ad
Commit
431603ad
authored
Jun 12, 2015
by
Paul Sokolovsky
Browse files
esp8266: esp_connect(): The function is now vararg.
Fixes regression from a previous commit.
parent
a19ba5fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
esp8266/modesp.c
View file @
431603ad
...
...
@@ -549,7 +549,7 @@ STATIC mp_obj_t esp_connect(mp_uint_t n_args, const mp_obj_t *args) {
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
()
{
error_check
(
wifi_station_disconnect
(),
"Cannot disconnect from AP"
);
...
...
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