[riot-devel] vtimer_usleep_until or similar

Kaspar Schleiser kaspar at schleiser.de
Tue Oct 21 17:25:33 CEST 2014


Hi Daniel,

On Tue, 21 Oct 2014 15:02:47 +0200
Daniel Amkær Sørensen <daniel.amkaer at gmail.com> wrote:
> I have a feature proposal in the interest of performing a periodic task.
> The feature exists already in FreeRTOS, so there is plenty of inspiration.
> 
> The function would be similar to vtimer_usleep, except that you call it and
> it will calculate the right time interval to sleep.
I've made a draft-PR (1850) implementing vtimer_sleep_until and vtimer_usleep_until.

Not well tested, but worksforme(tm).

Kaspar


More information about the devel mailing list