summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--io-module/machine/mtcpm.c10
-rw-r--r--io-module/mts-io.c3
2 files changed, 7 insertions, 6 deletions
diff --git a/io-module/machine/mtcpm.c b/io-module/machine/mtcpm.c
index 245225c..66c8328 100644
--- a/io-module/machine/mtcpm.c
+++ b/io-module/machine/mtcpm.c
@@ -206,11 +206,11 @@ static struct attribute *mtcpm_platform_attributes[] = {
&dev_attr_reset_monitor.attr,
&dev_attr_reset_monitor_intervals.attr,
- &dev_attr_led_status.attr,
- &dev_attr_led_cd_gpio.attr,
- &dev_attr_led_sig1_gpio.attr,
- &dev_attr_led_sig2_gpio.attr,
- &dev_attr_led_sig3_gpio.attr,
+ &dev_attr_led_status_mtcpm.attr,
+ &dev_attr_led_cd_mtcpm.attr,
+ &dev_attr_led_sig1_mtcpm.attr,
+ &dev_attr_led_sig2_mtcpm.attr,
+ &dev_attr_led_sig3_mtcpm.attr,
&dev_attr_usbhub_reset.attr,
&dev_attr_eth_reset.attr,
diff --git a/io-module/mts-io.c b/io-module/mts-io.c
index 1d244af..6cfc23a 100644
--- a/io-module/mts-io.c
+++ b/io-module/mts-io.c
@@ -1276,7 +1276,8 @@ mts_id_eeprom_load(void)
attr_group = &mtcpm_platform_attribute_group;
gpio_pins = gpio_pins_mtcpm;
set_buttons(default_buttons);
- log_info("detected board %s", hw_version_str);
+ mts_leds = mtcpmhs_leds;
+ log_info("detected board %s", hw_version_str);
} else if (found_board(HW_VERSION_MT100EOCG_0_0,MT100EOCG_0_0,&hw_version_str,&mts_hw_version)) {
attr_group = &mt100eocg_platform_attribute_group;
gpio_pins = gpio_pins_mt100eocg_0_0;