mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-09 15:39:08 +00:00
implmenet embedded_get_time_ms for HAVE_TIME_MS in embedded run loop
This commit is contained in:
parent
629538043e
commit
caff7b6e81
@ -229,7 +229,12 @@ uint32_t embedded_ticks_for_ms(uint32_t time_in_ms){
|
||||
uint32_t embedded_get_time_ms(void){
|
||||
return system_ticks * hal_tick_get_tick_period_in_ms();
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_TIME_MS
|
||||
uint32_t embedded_get_time_ms(void){
|
||||
return hal_time_ms();
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user