diff --git a/cpu/lpc11u34/include/periph_cpu.h b/cpu/lpc11u34/include/periph_cpu.h index b27a2b120190dbaeaca88f1347355213f906a790..c288c49370264288b715493e62af8e80786ef6bd 100644 --- a/cpu/lpc11u34/include/periph_cpu.h +++ b/cpu/lpc11u34/include/periph_cpu.h @@ -59,7 +59,7 @@ typedef uint16_t gpio_t; /** * @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