diff options
author | John Klug <john.klug@multitech.com> | 2018-06-25 10:23:28 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2018-06-25 10:23:28 -0500 |
commit | 647d7fc0b20a981341d9e1be42bf9adda533337e (patch) | |
tree | be4c9a592140569b485c4e09ec36a2352bcd1d37 /io-module | |
parent | 3892a0c8f5bfbb660a11c93153faf3a57dbe7dc3 (diff) | |
parent | c799120a61882d049a940066ee44c66fa6a1e5cf (diff) | |
download | mts-io-647d7fc0b20a981341d9e1be42bf9adda533337e.tar.gz mts-io-647d7fc0b20a981341d9e1be42bf9adda533337e.tar.bz2 mts-io-647d7fc0b20a981341d9e1be42bf9adda533337e.zip |
Merge branch 'mirror/master' into 'master'
Fixing LEDs mapping
See merge request !13
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", }, |