From 0a114d87f101e217ee20de702e2d103f1e77f3d6 Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Wed, 4 Oct 2017 12:34:42 +0200 Subject: [PATCH] boards/z1: fixed LEDx_PIN definitions --- boards/z1/include/board.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/boards/z1/include/board.h b/boards/z1/include/board.h index 0afdead39e..b1b8008aa9 100644 --- a/boards/z1/include/board.h +++ b/boards/z1/include/board.h @@ -70,14 +70,14 @@ extern "C" { * @name LED pin definitions and handlers * @{ */ -#define LED0_PIN GPIO_PIN(4, 0) -#define LED1_PIN GPIO_PIN(4, 1) -#define LED2_PIN GPIO_PIN(4, 2) +#define LED0_PIN GPIO_PIN(5, 4) +#define LED1_PIN GPIO_PIN(5, 6) +#define LED2_PIN GPIO_PIN(5, 5) #define LED_OUT_REG P5OUT #define LED0_MASK (0x10) -#define LED1_MASK (0x20) -#define LED2_MASK (0x40) +#define LED1_MASK (0x40) +#define LED2_MASK (0x20) #define LED0_ON (LED_OUT_REG &=~LED0_MASK) #define LED0_OFF (LED_OUT_REG |= LED0_MASK)