diff options
author | stijn <stijn@ignitron.net> | 2021-01-16 09:24:22 +0100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2021-01-30 13:41:36 +1100 |
commit | fca2730ea01bc8457804884f4a0472ae0d938a19 (patch) | |
tree | 2bfcac159f60508777d455053800d58f0b847d47 /lib/utils/pyexec.c | |
parent | b9a35bebf75be53a817bf6341af14b882093e345 (diff) |
lib/utils/pyexec: Remove obsolete LCD initialization.
This was added a long time ago in 75abee206d1a575aa98a486d043c94d64df432c1
when USB host support was added to the stm (now stm32) port, and when this
pyexec code was actually part of the stm port. It's unlikely to work as
intended anymore. If it is needed in the future then generic hook macros
can be added in pyexec.
Diffstat (limited to 'lib/utils/pyexec.c')
-rw-r--r-- | lib/utils/pyexec.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/utils/pyexec.c b/lib/utils/pyexec.c index 86321ac12..d1e955d65 100644 --- a/lib/utils/pyexec.c +++ b/lib/utils/pyexec.c @@ -546,12 +546,6 @@ int pyexec_friendly_repl(void) { vstr_t line; vstr_init(&line, 32); - #if defined(USE_HOST_MODE) && MICROPY_HW_HAS_LCD - // in host mode, we enable the LCD for the repl - mp_obj_t lcd_o = mp_call_function_0(mp_load_name(qstr_from_str("LCD"))); - mp_call_function_1(mp_load_attr(lcd_o, qstr_from_str("light")), mp_const_true); - #endif - friendly_repl_reset: mp_hal_stdout_tx_str("MicroPython " MICROPY_GIT_TAG " on " MICROPY_BUILD_DATE "; " MICROPY_HW_BOARD_NAME " with " MICROPY_HW_MCU_NAME "\r\n"); #if MICROPY_PY_BUILTINS_HELP |