make embedded_get_time_ms available for HAVE_TIME_MS, too

This commit is contained in:
Matthias Ringwald 2015-06-15 22:03:21 +02:00
parent 563790a325
commit 629538043e

View File

@ -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.