summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 *));