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:
parent
6f5154b98e
commit
3289acccfb
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user