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

pkg/semtech-loramac/contrib: reflecting xtimer's member change

This commit is contained in:
Hyungsin 2020-01-10 10:13:52 -08:00
parent 6f5154b98e
commit 3289acccfb

View File

@ -27,7 +27,10 @@ extern kernel_pid_t semtech_loramac_pid;
void TimerInit(TimerEvent_t *obj, void (*cb)(void))
{
obj->dev.target = 0;
obj->dev.start_time = 0;
obj->dev.long_start_time = 0;
obj->dev.offset = 0;
obj->dev.long_offset = 0;
obj->running = 0;
obj->cb = cb;
}