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:
parent
ccbb6cb153
commit
fe3c915916
|
@ -327,7 +327,7 @@
|
||||||
*/
|
*/
|
||||||
#if ((SAMA_PLLA_MUL_VALUE >= 1) && (SAMA_PLLA_MUL_VALUE <= 127)) || \
|
#if ((SAMA_PLLA_MUL_VALUE >= 1) && (SAMA_PLLA_MUL_VALUE <= 127)) || \
|
||||||
defined(__DOXYGEN__)
|
defined(__DOXYGEN__)
|
||||||
#define SAMA_PLLA_MUL ((SAMA_PLLA_MUL_VALUE + 1) << 18)
|
#define SAMA_PLLA_MUL ((SAMA_PLLA_MUL_VALUE - 1) << 18)
|
||||||
#else
|
#else
|
||||||
#error "invalid SAMA_PLLA_MUL_VALUE value specified"
|
#error "invalid SAMA_PLLA_MUL_VALUE value specified"
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue