提交 c2fec1bf 编写于 作者: wuyangyong's avatar wuyangyong

update cputime_cortexm.c support 64bit.

上级 9a3d0a0e
...@@ -24,7 +24,7 @@ static float cortexm_cputime_getres(void) ...@@ -24,7 +24,7 @@ static float cortexm_cputime_getres(void)
return ret; return ret;
} }
static uint32_t cortexm_cputime_gettime(void) static uint64_t cortexm_cputime_gettime(void)
{ {
return DWT->CYCCNT; return DWT->CYCCNT;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册