This is an automated email from the ASF dual-hosted git repository. btashton pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 12258d72d2ca9d91935414588aaa5c1448dd39ae Author: Virus.V <vir...@live.com> AuthorDate: Mon Dec 21 15:46:36 2020 +0800 Fix the BL602 mtimer frequency error. --- arch/risc-v/src/bl602/bl602_timerisr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/risc-v/src/bl602/bl602_timerisr.c b/arch/risc-v/src/bl602/bl602_timerisr.c index e039040..b5e9e5d 100644 --- a/arch/risc-v/src/bl602/bl602_timerisr.c +++ b/arch/risc-v/src/bl602/bl602_timerisr.c @@ -40,7 +40,7 @@ * Pre-processor Definitions ****************************************************************************/ -#define TICK_COUNT (160 * 1000 * 1000 / TICK_PER_SEC) +#define TICK_COUNT (10 * 1000 * 1000 / TICK_PER_SEC) #define CLINT_BASE_ADDRESS 0x02000000 #define getreg64(a) (*(volatile uint64_t *)(a))