mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-03-25 10:39:32 +08:00
update cputime_cortexm.c support 64bit.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user