summaryrefslogtreecommitdiff
path: root/io-module/mts_io.c
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 /io-module/mts_io.c
parent2682d2ab10ddb523999a71014a2c0f7c246e4100 (diff)
downloadmts-io-ab76db18c883b9b8eec3976e2cf6c5904b3ccd93.tar.gz
mts-io-ab76db18c883b9b8eec3976e2cf6c5904b3ccd93.tar.bz2
mts-io-ab76db18c883b9b8eec3976e2cf6c5904b3ccd93.zip
Remove CAPA_GNSS1.5.6
Diffstat (limited to 'io-module/mts_io.c')
-rw-r--r--io-module/mts_io.c4
1 files changed, 2 insertions, 2 deletions
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 *));