From 231fe82e138e597982c5c761b8ae0d248f3e2f1f Mon Sep 17 00:00:00 2001 From: Vyacheslav Pedash Date: Thu, 18 Aug 2022 15:38:36 +0300 Subject: MTX-4571 MTCDT3AC: Add MTCPM v 0.2 --- 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 6cfc23a..a1c71ea 100644 --- a/io-module/mts-io.c +++ b/io-module/mts-io.c @@ -1213,7 +1213,8 @@ mts_id_eeprom_load(void) set_buttons(default_buttons); log_info("detected board %s", hw_version_str); } else if (found_board(HW_VERSION_MTCPM_0_0,MTCPM_0_0,&hw_version_str,&mts_hw_version) || - found_board(HW_VERSION_MTCPM_0_1,MTCPM_0_1,&hw_version_str,&mts_hw_version)) { + found_board(HW_VERSION_MTCPM_0_1,MTCPM_0_1,&hw_version_str,&mts_hw_version) || + found_board(HW_VERSION_MTCPM_0_2,MTCPM_0_1,&hw_version_str,&mts_hw_version)) { need_append = 0; current_blength = attr_blength = sizeof mtcpm_platform_attributes; current_blength -= sizeof(struct attribute *); /* Length without terminating NULL */ -- cgit v1.2.3