summaryrefslogtreecommitdiff
path: root/cc3200/mods/modpyb.c
diff options
context:
space:
mode:
Diffstat (limited to 'cc3200/mods/modpyb.c')
-rw-r--r--cc3200/mods/modpyb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cc3200/mods/modpyb.c b/cc3200/mods/modpyb.c
index 86c726587..5cf57244c 100644
--- a/cc3200/mods/modpyb.c
+++ b/cc3200/mods/modpyb.c
@@ -62,6 +62,7 @@
#include "mpexception.h"
#include "random.h"
#include "pybextint.h"
+#include "pybadc.h"
#include "pybi2c.h"
#include "utils.h"
@@ -313,6 +314,7 @@ STATIC const mp_map_elem_t pyb_module_globals_table[] = {
{ MP_OBJ_NEW_QSTR(MP_QSTR_Pin), (mp_obj_t)&pin_type },
{ MP_OBJ_NEW_QSTR(MP_QSTR_ExtInt), (mp_obj_t)&extint_type },
+ { MP_OBJ_NEW_QSTR(MP_QSTR_ADC), (mp_obj_t)&pyb_adc_type },
{ MP_OBJ_NEW_QSTR(MP_QSTR_I2C), (mp_obj_t)&pyb_i2c_type },
{ MP_OBJ_NEW_QSTR(MP_QSTR_UART), (mp_obj_t)&pyb_uart_type },
};