From 39402e27a61529f029869f387cbc2b229561e1ac Mon Sep 17 00:00:00 2001 From: "Kwabena W. Agyeman" Date: Sat, 20 Mar 2021 11:04:15 -0700 Subject: [PATCH] Ifdef out lcd/tv init0 --- src/omv/ports/stm32/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/omv/ports/stm32/main.c b/src/omv/ports/stm32/main.c index 03439ed2e..32c9a3d54 100644 --- a/src/omv/ports/stm32/main.c +++ b/src/omv/ports/stm32/main.c @@ -496,9 +496,13 @@ soft_reset: // Initialise low-level sub-systems. Here we need to do the very basic // things like zeroing out memory and resetting any of the sub-systems. + #if MICROPY_PY_LCD py_lcd_init0(); + #endif py_fir_init0(); + #if MICROPY_PY_TV py_tv_init0(); + #endif #if MICROPY_PY_BUZZER py_buzzer_init0(); #endif // MICROPY_PY_BUZZER