From a006066f4a22954d5ab87549175111e4612a14dd Mon Sep 17 00:00:00 2001 From: Mike Fiore Date: Fri, 14 Feb 2014 11:10:10 -0600 Subject: switch from MTOCGD3 to MTOCGD2 --- io-module/mts_io.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'io-module/mts_io.c') diff --git a/io-module/mts_io.c b/io-module/mts_io.c index 5a30e2e..d36f721 100644 --- a/io-module/mts_io.c +++ b/io-module/mts_io.c @@ -3525,16 +3525,16 @@ static int mts_id_eeprom_load(void) has_spi_dout = 0; has_spi_temp = 0; log_info("detected board %s", HW_VERSION_MTR_0_1); - } else if (strncmp(id_eeprom.hw_version, HW_VERSION_MTOCGD3_0_0, strlen(HW_VERSION_MTOCGD3_0_0)) == 0) { + } else if (strncmp(id_eeprom.hw_version, HW_VERSION_MTOCGD2_0_0, strlen(HW_VERSION_MTOCGD2_0_0)) == 0) { attr_group = &mtr2_platform_attribute_group; gpio_pins = gpio_pins_mtr2_0_0; - mts_product_id = MTOCGD3_0_0; + mts_product_id = MTOCGD2_0_0; daughter_card_capable = true; has_spi_sout = 0; has_spi_din = 0; has_spi_dout = 0; has_spi_temp = 1; - log_info("detected board %s", HW_VERSION_MTOCGD3_0_0); + log_info("detected board %s", HW_VERSION_MTOCGD2_0_0); } else if (strncmp(id_eeprom.hw_version, HW_VERSION_MTOCGD_0_0, strlen(HW_VERSION_MTOCGD_0_0)) == 0) { attr_group = &mtr_platform_attribute_group; gpio_pins = gpio_pins_mtr_0_0; -- cgit v1.2.3