[riot-notifications] [RIOT] stm32f0-gpio-update (#3881)

Hauke Petersen notifications at github.com
Thu Sep 17 14:04:48 CEST 2015


>  {
>      if (value) {
> -        gpio_set(dev);
> +        gpio_set(pin);

you could gain slightly more efficiency by saving the function call here: 

s/gpio_set(pin);/_port(pin)->BSRRL = (1 << _pin_num(pin));/

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


More information about the notifications mailing list