Browse Source

update cputime_cortexm.c support 64bit.

aozima 3 years ago
parent
commit
c2fec1bf45
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/drivers/cputime/cputime_cortexm.c

+ 1 - 1
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;
 }