Fixed PLLA_MUL.

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

View File

@ -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