summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraozima <[email protected]>2021-11-29 18:49:30 +0800
committeraozima <[email protected]>2021-12-01 20:08:32 +0800
commitc2fec1bf451cae018ae6535bb9a68d19ca8e6abb (patch)
tree42d66ad62ac0dc38a9e30c08e5079e60da0374a2
parent9a3d0a0ea2be3b6c01ec7d5cd1efedb317b88aa3 (diff)
update cputime_cortexm.c support 64bit.
-rw-r--r--components/drivers/cputime/cputime_cortexm.c2
1 files changed, 1 insertions, 1 deletions
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;
}