mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-17 02:42:33 +00:00
make embedded_get_time_ms available for HAVE_TIME_MS, too
This commit is contained in:
parent
563790a325
commit
629538043e
@ -130,15 +130,17 @@ uint32_t embedded_ticks_for_ms(uint32_t time_in_ms);
|
||||
* @brief Queries the current time in ticks.
|
||||
*/
|
||||
uint32_t embedded_get_ticks(void);
|
||||
/**
|
||||
* @brief Queries the current time in ms
|
||||
*/
|
||||
uint32_t embedded_get_time_ms(void);
|
||||
/**
|
||||
* @brief Allows to update BTstack system ticks based on another already existing clock.
|
||||
*/
|
||||
void embedded_set_ticks(uint32_t ticks);
|
||||
#endif
|
||||
#if defined(HAVE_TICK) || defined(HAVE_TIME_MS)
|
||||
/**
|
||||
* @brief Queries the current time in ms
|
||||
*/
|
||||
uint32_t embedded_get_time_ms(void);
|
||||
#endif
|
||||
#ifdef EMBEDDED
|
||||
/**
|
||||
* @brief Sets an internal flag that is checked in the critical section just before entering sleep mode. Has to be called by the interrupt handler of a data source to signal the run loop that a new data is available.
|
||||
|
Loading…
x
Reference in New Issue
Block a user