mirror of
https://github.com/pvvx/RTL00_AT.git
synced 2024-11-21 17:44:15 +00:00
fix CPU_CLOCK_SEL_DIV5_3
This commit is contained in:
parent
3a88ef3139
commit
3ff7ee93dd
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@
|
|||
#define CPU_CLOCK_SEL_VALUE (CONFIG_CPU_CLK-6)
|
||||
#endif
|
||||
|
||||
#if CPU__CLK_DIV5_3
|
||||
#if CPU_CLOCK_SEL_DIV5_3
|
||||
#define PLATFORM_CLOCK (200000000ul>>CPU_CLOCK_SEL_VALUE)
|
||||
#else
|
||||
#define PLATFORM_CLOCK (((200000000ul*5ul)/6ul)>>CPU_CLOCK_SEL_VALUE)
|
||||
|
|
Loading…
Reference in a new issue