Skip to content
Snippets Groups Projects
Commit 79b34a72 authored by Sebastian Meiling's avatar Sebastian Meiling Committed by GitHub
Browse files

Merge pull request #7669 from haukepetersen/fix_z1_ledbtnpins

boards/z1: fixed LEDx_PIN definitions
parents 28a61288 0a114d87
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment