Fixed disable/enable macro.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10426 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
isiora 2017-08-14 09:13:03 +00:00
parent fe3c915916
commit f4ed4a5891
1 changed files with 4 additions and 4 deletions

View File

@ -78,7 +78,7 @@
#define pmcEnablePidLow(mask) { \
pmcDisableWP(); \
PMC->PMC_PCER0 |= (mask); \
pmcDisableWP(); \
pmcEnableWP(); \
}
/**
@ -92,7 +92,7 @@
#define pmcDisablePidLow(mask) { \
pmcDisableWP(); \
PMC->PMC_PCDR0 |= (mask); \
pmcDisableWP(); \
pmcEnableWP(); \
}
/**
@ -106,7 +106,7 @@
#define pmcEnablePidHigh(mask) { \
pmcDisableWP(); \
PMC->PMC_PCER1 |= (mask); \
pmcDisableWP(); \
pmcEnableWP(); \
}
/**
@ -120,7 +120,7 @@
#define pmcDisablePidHigh(mask) { \
pmcDisableWP(); \
PMC->PMC_PCDR1 |= (mask); \
pmcDisableWP(); \
pmcEnableWP(); \
}
/** @} */