1 parent 1c43a0f commit d5a12a6Copy full SHA for d5a12a6
1 file changed
esp8266/modnetwork.c
@@ -39,6 +39,8 @@
39
#include "spi_flash.h"
40
#include "utils.h"
41
42
+#define MODNETWORK_INCLUDE_CONSTANTS (1)
43
+
44
typedef struct _wlan_if_obj_t {
45
mp_obj_base_t base;
46
int if_id;
@@ -116,8 +118,6 @@ STATIC mp_obj_t esp_disconnect(mp_obj_t self_in) {
116
118
}
117
119
STATIC MP_DEFINE_CONST_FUN_OBJ_1(esp_disconnect_obj, esp_disconnect);
120
-#define MODNETWORK_INCLUDE_CONSTANTS (1)
-
121
STATIC mp_obj_t esp_status(mp_obj_t self_in) {
122
wlan_if_obj_t *self = MP_OBJ_TO_PTR(self_in);
123
if (self->if_id == STATION_IF) {
0 commit comments