diff options
author | Leonid Gonchar <leonid.gonchar@globallogic.com> | 2018-06-25 13:57:05 +0300 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2018-06-25 11:58:18 -0500 |
commit | 3a1845ac23e2ed13c9f9b6397896c954eab3ad14 (patch) | |
tree | be4c9a592140569b485c4e09ec36a2352bcd1d37 /io-module | |
parent | b9c7e9e5e5c021de665126de0295a1eac946b40c (diff) | |
download | mts-io-3a1845ac23e2ed13c9f9b6397896c954eab3ad14.tar.gz mts-io-3a1845ac23e2ed13c9f9b6397896c954eab3ad14.tar.bz2 mts-io-3a1845ac23e2ed13c9f9b6397896c954eab3ad14.zip |
Fixing LEDs mapping
Diffstat (limited to 'io-module')
-rw-r--r-- | io-module/mths.c | 13 |
1 files changed, 11 insertions, 2 deletions
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", }, |