We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f81ea63 commit 2c8356cCopy full SHA for 2c8356c
esp8266/modnetwork.c
@@ -58,7 +58,7 @@ STATIC const wlan_if_obj_t wlan_objs[] = {
58
STATIC void require_if(mp_obj_t wlan_if, int if_no) {
59
wlan_if_obj_t *self = MP_OBJ_TO_PTR(wlan_if);
60
if (self->if_id != if_no) {
61
- error_check(false, "STA required");
+ error_check(false, if_no == STATION_IF ? "STA required" : "AP required");
62
}
63
64
0 commit comments