From 30a330a75813bd7efb69de48e4149691565ce41f Mon Sep 17 00:00:00 2001 From: Vyacheslav Pedash Date: Tue, 12 Jul 2022 14:32:38 +0300 Subject: Fix mtcpm LED attributes --- io-module/mts-io.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'io-module/mts-io.c') 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; -- cgit v1.2.3