[riot-notifications] [RIOT] drivers/gpio: changed periph driver interface (#3095)

Peter Kietzmann notifications at github.com
Mon Jun 1 14:06:09 CEST 2015


>   */
> -int gpio_init_in(gpio_t dev, gpio_pp_t pullup);
> +int gpio_init_exti(gpio_t pin, gpio_pp_t pullup, gpio_flank_t flank,

When starting to touch so many things I'd also argue pro `gpio_init_exti`. I think this semantic is used more often and prevents to be misread.

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3095/files#r31419258
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150601/fc87f559/attachment.html>


More information about the notifications mailing list