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

Merge pull request #2235 from OlegHahm/weak_vtimer_gettimeofday

vtimer: enable vtimer_gettimeofday as fallback
This commit is contained in:
Oleg Hahm 2014-12-31 18:27:36 +01:00
commit 1e87a3212b

View File

@ -41,6 +41,8 @@
#define SECONDS_PER_TICK (4096U)
#define MICROSECONDS_PER_TICK (4096UL * 1000000)
void _gettimeofday(void) __attribute__ ((weak, alias("vtimer_gettimeofday")));
static void vtimer_callback(void *ptr);
static void vtimer_callback_tick(vtimer_t *timer);
static void vtimer_callback_msg(vtimer_t *timer);