cpu/esp32: reflecting xtimer's member change
This commit is contained in:
parent
3289acccfb
commit
8661205c6d
@ -148,7 +148,7 @@ void ets_timer_arm_us(ETSTimer *timer, uint32_t tmout, bool repeat)
|
|||||||
|
|
||||||
xtimer_set(&e2xt->xtimer, tmout);
|
xtimer_set(&e2xt->xtimer, tmout);
|
||||||
|
|
||||||
e2xt->ets_timer->timer_expire = e2xt->xtimer.target;
|
e2xt->ets_timer->timer_expire = e2xt->xtimer.start_time + e2xt->xtimer.offset;
|
||||||
e2xt->ets_timer->timer_period = repeat ? tmout : 0;
|
e2xt->ets_timer->timer_period = repeat ? tmout : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user