summaryrefslogtreecommitdiff
path: root/esp8266
diff options
context:
space:
mode:
Diffstat (limited to 'esp8266')
-rw-r--r--esp8266/modpyb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/esp8266/modpyb.h b/esp8266/modpyb.h
index 45d0bb8cf..c23a119e8 100644
--- a/esp8266/modpyb.h
+++ b/esp8266/modpyb.h
@@ -13,7 +13,7 @@ extern const mp_obj_type_t pyb_spi_type;
extern const mp_obj_type_t pyb_hspi_type;
extern const mp_obj_type_t machine_spi_type;
-MP_DECLARE_CONST_FUN_OBJ(pyb_info_obj);
+MP_DECLARE_CONST_FUN_OBJ_VAR_BETWEEN(pyb_info_obj);
typedef struct _pyb_pin_obj_t {
mp_obj_base_t base;