From d2ce4c7e3621a537a53a341b7721eecda5e20799 Mon Sep 17 00:00:00 2001 From: edolomb Date: Fri, 6 Oct 2017 10:46:07 +0000 Subject: 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 --- os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h') 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. -- cgit v1.2.3