aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/SAMA
diff options
context:
space:
mode:
authorisiora <none@example.com>2017-08-14 09:11:48 +0000
committerisiora <none@example.com>2017-08-14 09:11:48 +0000
commitfe3c91591624417d083fae436e49c288f7c861a7 (patch)
tree313e580948eb2be56d1ce949eb01522b384c4a75 /os/hal/ports/SAMA
parentccbb6cb153f1740d870c63ee86fc9db13c749784 (diff)
downloadChibiOS-fe3c91591624417d083fae436e49c288f7c861a7.tar.gz
ChibiOS-fe3c91591624417d083fae436e49c288f7c861a7.tar.bz2
ChibiOS-fe3c91591624417d083fae436e49c288f7c861a7.zip
Fixed PLLA_MUL.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10425 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/SAMA')
-rw-r--r--os/hal/ports/SAMA/SAMA5D2x/hal_lld.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/SAMA/SAMA5D2x/hal_lld.h b/os/hal/ports/SAMA/SAMA5D2x/hal_lld.h
index fb4891dba..f090126da 100644
--- a/os/hal/ports/SAMA/SAMA5D2x/hal_lld.h
+++ b/os/hal/ports/SAMA/SAMA5D2x/hal_lld.h
@@ -327,7 +327,7 @@
*/
#if ((SAMA_PLLA_MUL_VALUE >= 1) && (SAMA_PLLA_MUL_VALUE <= 127)) || \
defined(__DOXYGEN__)
-#define SAMA_PLLA_MUL ((SAMA_PLLA_MUL_VALUE + 1) << 18)
+#define SAMA_PLLA_MUL ((SAMA_PLLA_MUL_VALUE - 1) << 18)
#else
#error "invalid SAMA_PLLA_MUL_VALUE value specified"
#endif