Skip to content
Snippets Groups Projects
Unverified Commit 750fb9ac authored by Paul RATHGEB's avatar Paul RATHGEB
Browse files

cpu/lpc11u34 - Fixed GPIO_PIN macro

This macro is not coherent with the PORT_SHIFT def in gpio.c. This commit fixes the consistency.

Signed-off-by: default avatarPaul RATHGEB <paul.rathgeb@skynet.be>
parent 4c10c643
No related branches found
No related tags found
No related merge requests found
...@@ -59,7 +59,7 @@ typedef uint16_t gpio_t; ...@@ -59,7 +59,7 @@ typedef uint16_t gpio_t;
/** /**
* @brief Define a custom GPIO_PIN macro for the lpc11u34 * @brief Define a custom GPIO_PIN macro for the lpc11u34
*/ */
#define GPIO_PIN(port, pin) (gpio_t)((port << 16) | pin) #define GPIO_PIN(port, pin) (gpio_t)((port << 8) | pin)
/** /**
* @brief Number of PWM channels per PWM peripheral * @brief Number of PWM channels per PWM peripheral
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment