mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
ports: Add conditional compilation for py_fir_init0()
This commit is contained in:
parent
36d78e56f7
commit
59e36120d9
@ -95,7 +95,9 @@ soft_reset:
|
|||||||
mp_init();
|
mp_init();
|
||||||
|
|
||||||
// Initialise low-level sub-systems.
|
// Initialise low-level sub-systems.
|
||||||
|
#if MICROPY_PY_FIR
|
||||||
py_fir_init0();
|
py_fir_init0();
|
||||||
|
#endif // MICROPY_PY_FIR
|
||||||
#if MICROPY_PY_TV
|
#if MICROPY_PY_TV
|
||||||
py_tv_init0();
|
py_tv_init0();
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -180,7 +180,9 @@ soft_reset:
|
|||||||
fb_alloc_init0();
|
fb_alloc_init0();
|
||||||
framebuffer_init0();
|
framebuffer_init0();
|
||||||
|
|
||||||
|
#if MICROPY_PY_FIR
|
||||||
py_fir_init0();
|
py_fir_init0();
|
||||||
|
#endif // MICROPY_PY_FIR
|
||||||
|
|
||||||
#if MICROPY_PY_CSI
|
#if MICROPY_PY_CSI
|
||||||
if (omv_csi_init() != 0) {
|
if (omv_csi_init() != 0) {
|
||||||
|
|||||||
@ -191,7 +191,9 @@ soft_reset:
|
|||||||
mp_init();
|
mp_init();
|
||||||
|
|
||||||
// Initialise low-level sub-systems.
|
// Initialise low-level sub-systems.
|
||||||
|
#if MICROPY_PY_FIR
|
||||||
py_fir_init0();
|
py_fir_init0();
|
||||||
|
#endif // MICROPY_PY_FIR
|
||||||
#if MICROPY_PY_TV
|
#if MICROPY_PY_TV
|
||||||
py_tv_init0();
|
py_tv_init0();
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user