summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/modpyb.h
diff options
context:
space:
mode:
Diffstat (limited to 'esp8266/modpyb.h')
-rw-r--r--esp8266/modpyb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/esp8266/modpyb.h b/esp8266/modpyb.h
index c1a0413f04..dc399ad819 100644
--- a/esp8266/modpyb.h
+++ b/esp8266/modpyb.h
@@ -11,6 +11,8 @@ extern const mp_obj_type_t pyb_uart_type;
extern const mp_obj_type_t pyb_i2c_type;
extern const mp_obj_type_t pyb_spi_type;
+MP_DECLARE_CONST_FUN_OBJ(pyb_info_obj);
+
typedef struct _pyb_pin_obj_t {
mp_obj_base_t base;
uint16_t phys_port;