<p><b>@keestux</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/10717#discussion_r297846676">sys/evtimer/evtimer.c</a>:</p>
<pre style='color:#555'>>  {
     DEBUG("evtimer: new event offset %" PRIu32 " ms\n", event->offset);
-    /* we want list->next to point to the first list element. thus we take the
-     * *address* of evtimer->events, then cast it from (evtimer_event_t **) to
-     * (evtimer_event_t*). After that, list->next actually equals
-     * evtimer->events. */
-    evtimer_event_t *list = (evtimer_event_t *)&evtimer->events;
-
-    while (list->next) {
-        evtimer_event_t *list_entry = list->next;
+    evtimer_event_t **list = &evtimer->events;
</pre>
<p>Well, it is quite essential to have <code>evtimer_event_t **list = &evtimer->events</code> !!<br>
Take a look at the last line in the function</p>
<pre><code>    *list = event;
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/10717?email_source=notifications&email_token=ABE7WYHE2ZHR6N6RWHW72YLP4PEVLA5CNFSM4GOKOBP2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB4YKR3I#discussion_r297846676">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYBKNQLYKTDA73NNN3LP4PEVLANCNFSM4GOKOBPQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABE7WYD7LA7JBZ7VVYJTUNDP4PEVLA5CNFSM4GOKOBP2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB4YKR3I.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/10717?email_source=notifications\u0026email_token=ABE7WYHE2ZHR6N6RWHW72YLP4PEVLA5CNFSM4GOKOBP2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB4YKR3I#discussion_r297846676",
"url": "https://github.com/RIOT-OS/RIOT/pull/10717?email_source=notifications\u0026email_token=ABE7WYHE2ZHR6N6RWHW72YLP4PEVLA5CNFSM4GOKOBP2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB4YKR3I#discussion_r297846676",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>