From 3a1845ac23e2ed13c9f9b6397896c954eab3ad14 Mon Sep 17 00:00:00 2001 From: Leonid Gonchar Date: Mon, 25 Jun 2018 13:57:05 +0300 Subject: Fixing LEDs mapping --- io-module/mths.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'io-module') diff --git a/io-module/mths.c b/io-module/mths.c index df7fa27..28a4f19 100644 --- a/io-module/mths.c +++ b/io-module/mths.c @@ -104,10 +104,19 @@ static struct gpio_pin gpio_pins_mths_0_0[] = { .active_low = 1, }, { - .name = "LED4", + .name = "LED3", .pin = { .gpio = AT91_PIN_PC20, .flags = GPIOF_OUT_INIT_HIGH, + .label = "led-c", + }, + .active_low = 1, + }, + { + .name = "LED4", + .pin = { + .gpio = AT91_PIN_PC16, + .flags = GPIOF_OUT_INIT_HIGH, .label = "led-cd", }, .active_low = 1, @@ -115,7 +124,7 @@ static struct gpio_pin gpio_pins_mths_0_0[] = { { .name = "LED5", .pin = { - .gpio = AT91_PIN_PC16, + .gpio = AT91_PIN_PC21, .flags = GPIOF_OUT_INIT_HIGH, .label = "led-status", }, -- cgit v1.2.3