aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/SAMA
diff options
context:
space:
mode:
authoredolomb <none@example.com>2018-02-22 00:25:52 +0000
committeredolomb <none@example.com>2018-02-22 00:25:52 +0000
commit9595f1846e58cf90b516a7e1a16bb0777f4c2e70 (patch)
tree8e5782a5557289455154ca64c59b44b5ace017ac /os/hal/ports/SAMA
parent04d9d4fb5f5c52a445fea4a2673813407f74ecbb (diff)
downloadChibiOS-9595f1846e58cf90b516a7e1a16bb0777f4c2e70.tar.gz
ChibiOS-9595f1846e58cf90b516a7e1a16bb0777f4c2e70.tar.bz2
ChibiOS-9595f1846e58cf90b516a7e1a16bb0777f4c2e70.zip
Inverted dmaInit and aicInit
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11536 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/SAMA')
-rw-r--r--os/hal/ports/SAMA/SAMA5D2x/hal_lld.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/ports/SAMA/SAMA5D2x/hal_lld.c b/os/hal/ports/SAMA/SAMA5D2x/hal_lld.c
index ce190c7c0..707fed5cc 100644
--- a/os/hal/ports/SAMA/SAMA5D2x/hal_lld.c
+++ b/os/hal/ports/SAMA/SAMA5D2x/hal_lld.c
@@ -84,13 +84,13 @@ void hal_lld_init(void) {
pmcEnableWP();
#endif
+ /* Advanced interrupt controller init */
+ aicInit();
+
#if defined(SAMA_DMA_REQUIRED)
dmaInit();
#endif
- /* Advanced interrupt controller init */
- aicInit();
-
}
/**