diff options
author | John Klug <john.klug@multitech.com> | 2018-06-26 09:43:13 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2018-06-26 09:43:13 -0500 |
commit | b227587b9dc7e7ca4173020112da7b1e789d329a (patch) | |
tree | 25bd75020c0e3d736d5241fb21b19299764a6ac7 | |
parent | dc450195b63fd13ff74154e5ca06fabec58afd11 (diff) | |
parent | ef4590c58cb49292df824edb86dcbfac9fb9aea2 (diff) | |
download | mts-io-b227587b9dc7e7ca4173020112da7b1e789d329a.tar.gz mts-io-b227587b9dc7e7ca4173020112da7b1e789d329a.tar.bz2 mts-io-b227587b9dc7e7ca4173020112da7b1e789d329a.zip |
Merge branch 'mirror/master' into 'master'
Sig legs are swapped. Removing led-cd
See merge request !14
-rw-r--r-- | io-module/mths.c | 45 |
1 files changed, 18 insertions, 27 deletions
diff --git a/io-module/mths.c b/io-module/mths.c index 28a4f19..79ba885 100644 --- a/io-module/mths.c +++ b/io-module/mths.c @@ -66,7 +66,7 @@ static struct gpio_pin gpio_pins_mths_0_0[] = { { .name = "LS_LED", .pin = { - .gpio = AT91_PIN_PC4, + .gpio = AT91_PIN_PC16, #if LED_LS_CONTROLLABLE .flags = GPIOF_OUT_INIT_HIGH, #else @@ -104,7 +104,7 @@ static struct gpio_pin gpio_pins_mths_0_0[] = { .active_low = 1, }, { - .name = "LED3", + .name = "LED4", .pin = { .gpio = AT91_PIN_PC20, .flags = GPIOF_OUT_INIT_HIGH, @@ -113,38 +113,29 @@ static struct gpio_pin gpio_pins_mths_0_0[] = { .active_low = 1, }, { - .name = "LED4", - .pin = { - .gpio = AT91_PIN_PC16, - .flags = GPIOF_OUT_INIT_HIGH, - .label = "led-cd", - }, - .active_low = 1, - }, - { - .name = "LED5", - .pin = { - .gpio = AT91_PIN_PC21, - .flags = GPIOF_OUT_INIT_HIGH, - .label = "led-status", - }, - .active_low = 1, + .name = "LED5", + .pin = { + .gpio = AT91_PIN_PC21, + .flags = GPIOF_OUT_INIT_HIGH, + .label = "led-status", + }, + .active_low = 1, }, { - .name = "LED5", - .pin = { - .gpio = AT91_PIN_PC16, - .flags = GPIOF_OUT_INIT_HIGH, - .label = "led-c", - }, - .active_low = 1, + .name = "LED5", + .pin = { + .gpio = AT91_PIN_PC21, + .flags = GPIOF_OUT_INIT_HIGH, + .label = "led-cd", + }, + .active_low = 1, }, { .name = "LED6", .pin = { .gpio = AT91_PIN_PC19, .flags = GPIOF_OUT_INIT_HIGH, - .label = "led-sig1", + .label = "led-sig3", }, .active_low = 1, }, @@ -180,7 +171,7 @@ static struct gpio_pin gpio_pins_mths_0_0[] = { .pin = { .gpio = AT91_PIN_PC17, .flags = GPIOF_OUT_INIT_HIGH, - .label = "led-sig3", + .label = "led-sig1", }, .active_low = 1, }, |