diff --git a/os/hal/ports/SAMA/SAMA5D2x/hal_lld.c b/os/hal/ports/SAMA/SAMA5D2x/hal_lld.c index 4e4e50b49..92a25bc0f 100644 --- a/os/hal/ports/SAMA/SAMA5D2x/hal_lld.c +++ b/os/hal/ports/SAMA/SAMA5D2x/hal_lld.c @@ -59,7 +59,7 @@ * @notapi */ void hal_lld_init(void) { -#if defined(SAMA5_DMA_REQUIRED) +#if defined(SAMA_DMA_REQUIRED) dmaInit(); #endif /* Advanced interrupt controller init */