From e2f3acbc5cebf1dc2d7ad0a299acc222e8305afe Mon Sep 17 00:00:00 2001 From: Rocco Marco Guglielmi Date: Fri, 11 Aug 2017 17:16:33 +0000 Subject: Minor changes in sama_pmc helper header git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10403 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'os/hal') diff --git a/os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h b/os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h index 9e31ea579..b26cdad27 100644 --- a/os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h +++ b/os/hal/ports/SAMA/SAMA5D2x/sama_pmc.h @@ -52,7 +52,7 @@ /** * @brief Enable write protection on PMC registers block. * - * @api + * @notapi */ #define pmcEnableWP() { \ PMC->PMC_WPMR = PMC_WPMR_WPKEY_PASSWD | PMC_WPMR_WPEN; \ @@ -61,7 +61,7 @@ /** * @brief Disable write protection on PMC registers block. * - * @api + * @notapi */ #define pmcDisableWP() { \ PMC->PMC_WPMR = PMC_WPMR_WPKEY_PASSWD; \ @@ -133,7 +133,7 @@ * * @api */ -#define pmcEnablePIT() pmcEnablePidLow(SAMA_PID_PIT) +#define pmcEnablePIT() pmcEnablePidLow(ID_PIT_MSK) /** * @brief Disables the PIT peripheral clock. -- cgit v1.2.3