mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Fix H7 build.
* CAN is not supported yet for H7.
This commit is contained in:
parent
16bacb3ca0
commit
ca5ebbc0ff
@ -462,7 +462,9 @@ soft_reset:
|
|||||||
pin_init0();
|
pin_init0();
|
||||||
extint_init0();
|
extint_init0();
|
||||||
timer_init0();
|
timer_init0();
|
||||||
|
#if MICROPY_HW_ENABLE_CAN
|
||||||
can_init0();
|
can_init0();
|
||||||
|
#endif
|
||||||
i2c_init0();
|
i2c_init0();
|
||||||
spi_init0();
|
spi_init0();
|
||||||
uart_init0();
|
uart_init0();
|
||||||
@ -616,7 +618,9 @@ soft_reset:
|
|||||||
storage_flush();
|
storage_flush();
|
||||||
timer_deinit();
|
timer_deinit();
|
||||||
uart_deinit();
|
uart_deinit();
|
||||||
|
#if MICROPY_HW_ENABLE_CAN
|
||||||
can_deinit();
|
can_deinit();
|
||||||
|
#endif
|
||||||
pyb_thread_deinit();
|
pyb_thread_deinit();
|
||||||
|
|
||||||
first_soft_reset = false;
|
first_soft_reset = false;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user