ports: Add conditional compilation for py_fir_init0()

This commit is contained in:
Sighthesia 2025-06-10 22:57:31 +08:00 committed by GitHub
parent 36d78e56f7
commit 59e36120d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 0 deletions

View File

@ -95,7 +95,9 @@ soft_reset:
mp_init();
// Initialise low-level sub-systems.
#if MICROPY_PY_FIR
py_fir_init0();
#endif // MICROPY_PY_FIR
#if MICROPY_PY_TV
py_tv_init0();
#endif

View File

@ -180,7 +180,9 @@ soft_reset:
fb_alloc_init0();
framebuffer_init0();
#if MICROPY_PY_FIR
py_fir_init0();
#endif // MICROPY_PY_FIR
#if MICROPY_PY_CSI
if (omv_csi_init() != 0) {

View File

@ -191,7 +191,9 @@ soft_reset:
mp_init();
// Initialise low-level sub-systems.
#if MICROPY_PY_FIR
py_fir_init0();
#endif // MICROPY_PY_FIR
#if MICROPY_PY_TV
py_tv_init0();
#endif