[riot-notifications] [RIOT] Arduino-mega2560 GPIO implementation (#2799)

Peter Kietzmann notifications at github.com
Mon Sep 7 09:58:58 CEST 2015


> + */
> +
> +
> +#include <stdio.h>
> +
> +#include <avr/interrupt.h>
> +
> +#include "cpu.h"
> +#include "periph/gpio.h"
> +#include "periph_conf.h"
> +
> +#define GPIO_BASE_PORT_A        (0x20)
> +#define GPIO_OFFSET_PORT_H      (0xCB)
> +#define GPIO_OFFSET_PIN_PORT    (0x02)
> +#define GPIO_OFFSET_PIN_PIN     (0x03)
> +#define GPIO_EXT_INT_NUMOF       7

Please add parentheses around the number

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


More information about the notifications mailing list