diff options
Diffstat (limited to 'stmhal/modpyb.c')
-rw-r--r-- | stmhal/modpyb.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/stmhal/modpyb.c b/stmhal/modpyb.c index 44bcba1d79..fae36b7b69 100644 --- a/stmhal/modpyb.c +++ b/stmhal/modpyb.c @@ -54,6 +54,7 @@ #include "accel.h" #include "servo.h" #include "dac.h" +#include "lcd.h" #include "usb.h" #include "ff.h" #include "portmodules.h" @@ -390,6 +391,10 @@ STATIC const mp_map_elem_t pyb_module_globals_table[] = { #if MICROPY_HW_HAS_MMA7660 { MP_OBJ_NEW_QSTR(MP_QSTR_Accel), (mp_obj_t)&pyb_accel_type }, #endif + +#if MICROPY_HW_HAS_LCD + { MP_OBJ_NEW_QSTR(MP_QSTR_LCD), (mp_obj_t)&pyb_lcd_type }, +#endif }; STATIC const mp_obj_dict_t pyb_module_globals = { |