aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports
diff options
context:
space:
mode:
authoredolomb <none@example.com>2017-10-06 10:46:07 +0000
committeredolomb <none@example.com>2017-10-06 10:46:07 +0000
commitd2ce4c7e3621a537a53a341b7721eecda5e20799 (patch)
tree909d129b1df05a22803fa9fda0a57dbd04c3c0f2 /os/hal/ports
parent9c9ff7082ac11b23065550bd51ced1d7740c751e (diff)
downloadChibiOS-d2ce4c7e3621a537a53a341b7721eecda5e20799.tar.gz
ChibiOS-d2ce4c7e3621a537a53a341b7721eecda5e20799.tar.bz2
ChibiOS-d2ce4c7e3621a537a53a341b7721eecda5e20799.zip
Fixed wrong definition on H32MX and H64MX pmc
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10785 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports')
-rw-r--r--os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h b/os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h
index f98ed20ba..b8111dbd0 100644
--- a/os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h
+++ b/os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h
@@ -175,28 +175,28 @@
*
* @api
*/
-#define pmcEnableH32MX() pmcEnablePidLow(ID_MATRIX0_MSK)
+#define pmcEnableH32MX() pmcEnablePidLow(ID_MATRIX1_MSK)
/**
* @brief Disables the H32MX peripheral clock.
*
* @api
*/
-#define pmcDisableH32MX() pmcDisablePidLow(ID_MATRIX0_MSK)
+#define pmcDisableH32MX() pmcDisablePidLow(ID_MATRIX1_MSK)
/**
* @brief Enables the H64MX peripheral clock.
*
* @api
*/
-#define pmcEnableH64MX() pmcEnablePidLow(ID_MATRIX1_MSK)
+#define pmcEnableH64MX() pmcEnablePidLow(ID_MATRIX0_MSK)
/**
* @brief Disables the H64MX peripheral clock.
*
* @api
*/
-#define pmcDisableH64MX() pmcDisablePidLow(ID_MATRIX1_MSK)
+#define pmcDisableH64MX() pmcDisablePidLow(ID_MATRIX0_MSK)
/**
* @brief Enables the PIO peripheral clock.