[riot-notifications] [RIOT-OS/RIOT] periph/gpio: add gpio_set_cb() function (#12082)
notifications at github.com
Tue Sep 17 12:08:04 CEST 2019
As to 1., I think I should name it `gpio_update_cb()` instead.
If we set the callback function to `NULL`, we would also have to disable the interrupt - and there is already a function for that.
The idea here is that the callback function might be static and in another compilation unit, but one still wants to update the callback argument.
As to 2., I can do it, but it seems a little overkill as this only provides a setter for two internal variables.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications