summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/modpyb.c
diff options
context:
space:
mode:
Diffstat (limited to 'esp8266/modpyb.c')
-rw-r--r--esp8266/modpyb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/esp8266/modpyb.c b/esp8266/modpyb.c
index f02de9e305..be7415e68d 100644
--- a/esp8266/modpyb.c
+++ b/esp8266/modpyb.c
@@ -165,6 +165,7 @@ STATIC const mp_map_elem_t pyb_module_globals_table[] = {
{ MP_OBJ_NEW_QSTR(MP_QSTR_hard_reset), (mp_obj_t)&pyb_hard_reset_obj },
{ MP_OBJ_NEW_QSTR(MP_QSTR_Pin), (mp_obj_t)&pyb_pin_type },
+ { MP_OBJ_NEW_QSTR(MP_QSTR_ADC), (mp_obj_t)&pyb_adc_type },
{ MP_OBJ_NEW_QSTR(MP_QSTR_RTC), (mp_obj_t)&pyb_rtc_obj },
};