Browse Source

update cputime_cortexm.c support 64bit.

aozima 4 năm trước cách đây
mục cha
commit
c2fec1bf45
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
 }