mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-09-16 22:19:54 +00:00
npl/riot: add ble_npl_time_delay()
This commit is contained in:
committed by
Andrzej Kaczmarek
parent
4c3c91bbb3
commit
16a3c5e574
@@ -256,6 +256,12 @@ ble_npl_time_ticks_to_ms32(ble_npl_time_t ticks)
|
||||
return ticks;
|
||||
}
|
||||
|
||||
static inline void
|
||||
ble_npl_time_delay(ble_npl_time_t ticks)
|
||||
{
|
||||
xtimer_usleep(ticks * 1000);
|
||||
}
|
||||
|
||||
static inline uint32_t
|
||||
ble_npl_hw_enter_critical(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user