clock: rename z_timer_cycle_get_32 -> sys_clock_cycle_get_32
This is another API that is being used in all timer drivers and is not internal to the clock subsystem. Remove the leading z_ and make promote it to a cross-subsystem API. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
11779e3faf
commit
12b53d121e
34 changed files with 49 additions and 49 deletions
|
@ -109,7 +109,7 @@ uint32_t sys_clock_elapsed(void)
|
|||
return ret;
|
||||
}
|
||||
|
||||
uint32_t z_timer_cycle_get_32(void)
|
||||
uint32_t sys_clock_cycle_get_32(void)
|
||||
{
|
||||
return (uint32_t)arm_arch_timer_count();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue