1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/vtimer
René Kijewski e1705622b7 vtimer: fix crash on spurious hwtimer callback
It seems that there are corner cases where a vtimer was removed, but
still there comes a hwtimer callback. This is a bug somewhere in the
vtimer or hwtimer. If there still was a vtimer set, then the next one
gets called before its time. If there was no other vtimer scheduled,
then `timer->action(timer)` crashes.

This PR simply fixes the crash, but does not attempt to find the more
fundamental bug.
2014-07-18 14:42:52 +02:00
..
Makefile make: detect their module name automatically 2014-06-17 15:49:32 +02:00
vtimer.c vtimer: fix crash on spurious hwtimer callback 2014-07-18 14:42:52 +02:00