Skip to content
Snippets Groups Projects
Commit 0a114d87 authored by Hauke Petersen's avatar Hauke Petersen
Browse files

boards/z1: fixed LEDx_PIN definitions

parent ca154a70
No related branches found
No related tags found
No related merge requests found
...@@ -70,14 +70,14 @@ extern "C" { ...@@ -70,14 +70,14 @@ extern "C" {
* @name LED pin definitions and handlers * @name LED pin definitions and handlers
* @{ * @{
*/ */
#define LED0_PIN GPIO_PIN(4, 0) #define LED0_PIN GPIO_PIN(5, 4)
#define LED1_PIN GPIO_PIN(4, 1) #define LED1_PIN GPIO_PIN(5, 6)
#define LED2_PIN GPIO_PIN(4, 2) #define LED2_PIN GPIO_PIN(5, 5)
#define LED_OUT_REG P5OUT #define LED_OUT_REG P5OUT
#define LED0_MASK (0x10) #define LED0_MASK (0x10)
#define LED1_MASK (0x20) #define LED1_MASK (0x40)
#define LED2_MASK (0x40) #define LED2_MASK (0x20)
#define LED0_ON (LED_OUT_REG &=~LED0_MASK) #define LED0_ON (LED_OUT_REG &=~LED0_MASK)
#define LED0_OFF (LED_OUT_REG |= LED0_MASK) #define LED0_OFF (LED_OUT_REG |= LED0_MASK)
......
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