[riot-notifications] [RIOT-OS/RIOT] Refactor evtimer add del (#10717)

Marian Buschsieweke notifications at github.com
Fri Jul 5 20:31:30 CEST 2019


maribu approved this pull request.

The hack with the explicit cast of `evtimer_event_t **` to `evtimer_event_t *` could lead to hard to trace bugs, if the memory layout of `evtimer_event_t` is ever changed. This PR gets rid of that and has the nice side effects of increased readability of the code and (at least for `arm-none-eabi-gcc`) better optimized binaries :-)

ACK!



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10717#pullrequestreview-258514074
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190705/94248588/attachment.html>


More information about the notifications mailing list