fix CPU_CLOCK_SEL_DIV5_3

This commit is contained in:
pvvx 2017-03-26 23:21:50 +03:00
parent 3a88ef3139
commit 3ff7ee93dd

View file

@ -243,7 +243,7 @@
#define CPU_CLOCK_SEL_VALUE (CONFIG_CPU_CLK-6) #define CPU_CLOCK_SEL_VALUE (CONFIG_CPU_CLK-6)
#endif #endif
#if CPU__CLK_DIV5_3 #if CPU_CLOCK_SEL_DIV5_3
#define PLATFORM_CLOCK (200000000ul>>CPU_CLOCK_SEL_VALUE) #define PLATFORM_CLOCK (200000000ul>>CPU_CLOCK_SEL_VALUE)
#else #else
#define PLATFORM_CLOCK (((200000000ul*5ul)/6ul)>>CPU_CLOCK_SEL_VALUE) #define PLATFORM_CLOCK (((200000000ul*5ul)/6ul)>>CPU_CLOCK_SEL_VALUE)