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
|
@ -718,9 +718,9 @@ enum usdhc_reset {
|
|||
|
||||
static void usdhc_millsec_delay(unsigned int cycles_to_wait)
|
||||
{
|
||||
unsigned int start = z_timer_cycle_get_32();
|
||||
unsigned int start = sys_clock_cycle_get_32();
|
||||
|
||||
while (z_timer_cycle_get_32() - start < (cycles_to_wait * 1000))
|
||||
while (sys_clock_cycle_get_32() - start < (cycles_to_wait * 1000))
|
||||
;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue