RP - Add guard around dmaInit()

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14238 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
cinsights 2021-04-19 22:46:08 +00:00
parent e15d7fe0f9
commit 75a1d87b6f
1 changed files with 2 additions and 0 deletions

View File

@ -109,7 +109,9 @@ void hal_lld_init(void) {
/* Common subsystems initialization.*/
irqInit();
#if defined(RP_DMA_REQUIRED)
dmaInit();
#endif
#if RP_CORE1_START == TRUE
start_core1();