summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2016-12-05 18:41:36 -0600
committerJohn Klug <john.klug@multitech.com>2016-12-05 18:41:36 -0600
commitab76db18c883b9b8eec3976e2cf6c5904b3ccd93 (patch)
treecc26375cfc9079cb74023c243b85a2c82b101e27
parent2682d2ab10ddb523999a71014a2c0f7c246e4100 (diff)
downloadmts-io-ab76db18c883b9b8eec3976e2cf6c5904b3ccd93.tar.gz
mts-io-ab76db18c883b9b8eec3976e2cf6c5904b3ccd93.tar.bz2
mts-io-ab76db18c883b9b8eec3976e2cf6c5904b3ccd93.zip
Remove CAPA_GNSS1.5.6
-rw-r--r--io-module/mtcdt.c4
-rw-r--r--io-module/mts_io.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/io-module/mtcdt.c b/io-module/mtcdt.c
index 4877c5a..048e11c 100644
--- a/io-module/mtcdt.c
+++ b/io-module/mtcdt.c
@@ -559,7 +559,7 @@ static struct gpio_pin gpio_pins_mtcdt_0_1[] = {
.flags = GPIOF_OUT_INIT_HIGH,
.label = "gnss-reset",
},
- .capability = CAPA_GNSS,
+ .capability = CAPA_GPS,
},
{
.name = "SECURE_RESET",
@@ -592,7 +592,7 @@ static struct gpio_pin gpio_pins_mtcdt_0_1[] = {
.flags = GPIOF_OUT_INIT_HIGH,
.label = "gnss-int",
},
- .capability = CAPA_GNSS,
+ .capability = CAPA_GPS,
},
{
.name = "WIFI_BT_LPMODE",
diff --git a/io-module/mts_io.c b/io-module/mts_io.c
index f2204d0..33fee4f 100644
--- a/io-module/mts_io.c
+++ b/io-module/mts_io.c
@@ -827,7 +827,7 @@ static int mts_id_eeprom_load()
if(DEVICE_CAPA(id_eeprom.capa, CAPA_WIFI)) {
attr_blength += sizeof mtcdt_0_1_wifi_bt_attributes;
}
- if(DEVICE_CAPA(id_eeprom.capa, CAPA_GNSS)) {
+ if(DEVICE_CAPA(id_eeprom.capa, CAPA_GPS)) {
attr_blength += sizeof mtcdt_0_1_gnss_attributes;
}
if (attr_blength != sizeof mtcdt_0_1_platform_attributes) {
@@ -839,7 +839,7 @@ static int mts_id_eeprom_load()
memcpy(all_attrs + current_count,mtcdt_0_1_wifi_bt_attributes,sizeof mtcdt_0_1_wifi_bt_attributes);
current_count += sizeof mtcdt_0_1_wifi_bt_attributes / (sizeof (struct attribute *));
}
- if(DEVICE_CAPA(id_eeprom.capa, CAPA_GNSS)) {
+ if(DEVICE_CAPA(id_eeprom.capa, CAPA_GPS)) {
attr_blength += sizeof mtcdt_0_1_gnss_attributes;
memcpy(all_attrs + current_count,mtcdt_0_1_gnss_attributes,sizeof mtcdt_0_1_gnss_attributes);
current_count += sizeof mtcdt_0_1_gnss_attributes / (sizeof (struct attribute *));