1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

xtimer: Rename timer_callback_t -> xtimer_callback_t

This commit is contained in:
Joakim Nohlgård 2016-07-05 23:13:03 +02:00
parent 4fe674f746
commit 6768ae9c1f

View File

@ -43,7 +43,7 @@ extern "C" {
/**
* @brief xtimer callback type
*/
typedef void (*timer_callback_t)(void*);
typedef void (*xtimer_callback_t)(void*);
/**
* @brief xtimer timer structure
@ -52,7 +52,7 @@ typedef struct xtimer {
struct xtimer *next; /**< reference to next timer in timer lists */
uint32_t target; /**< lower 32bit absolute target time */
uint32_t long_target; /**< upper 32bit absolute target time */
timer_callback_t callback; /**< callback function to call when timer
xtimer_callback_t callback; /**< callback function to call when timer
expires */
void *arg; /**< argument to pass to callback function */
} xtimer_t;