From c2fec1bf451cae018ae6535bb9a68d19ca8e6abb Mon Sep 17 00:00:00 2001 From: aozima Date: Mon, 29 Nov 2021 18:49:30 +0800 Subject: [PATCH] update cputime_cortexm.c support 64bit. --- components/drivers/cputime/cputime_cortexm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/drivers/cputime/cputime_cortexm.c b/components/drivers/cputime/cputime_cortexm.c index 071acfe9bb..48ccfdb126 100644 --- a/components/drivers/cputime/cputime_cortexm.c +++ b/components/drivers/cputime/cputime_cortexm.c @@ -24,7 +24,7 @@ static float cortexm_cputime_getres(void) return ret; } -static uint32_t cortexm_cputime_gettime(void) +static uint64_t cortexm_cputime_gettime(void) { return DWT->CYCCNT; }