From a6aa35af09584bdf5d52275e0d9703ca4fec4231 Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 28 Apr 2016 12:23:55 +0100 Subject: esp8266: Move pyb.info() function to esp module and remove pyb module. All functionality of the pyb module is available in other modules, like time, machine and os. The only outstanding function, info(), is (temporarily) moved to the esp module and the pyb module is removed. --- esp8266/modpyb.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'esp8266/modpyb.h') diff --git a/esp8266/modpyb.h b/esp8266/modpyb.h index c1a0413f0..dc399ad81 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; -- cgit v1.2.3