diff options
author | John Klug <john.klug@multitech.com> | 2016-10-11 12:02:09 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2016-10-11 12:02:09 -0500 |
commit | e7eeb2a651fee2e875c0cc6ce28c5e958824a8ed (patch) | |
tree | 42b6ddf18a265796816bce95351a5598d97d7f22 /io-module | |
parent | 779d639645ac7acdac617ed40fcfff5859166631 (diff) | |
download | mts-io-e7eeb2a651fee2e875c0cc6ce28c5e958824a8ed.tar.gz mts-io-e7eeb2a651fee2e875c0cc6ce28c5e958824a8ed.tar.bz2 mts-io-e7eeb2a651fee2e875c0cc6ce28c5e958824a8ed.zip |
Fix oops provoked by GNSS attribute
Diffstat (limited to 'io-module')
-rw-r--r-- | io-module/mts_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io-module/mts_io.c b/io-module/mts_io.c index 1cc2060..133719d 100644 --- a/io-module/mts_io.c +++ b/io-module/mts_io.c @@ -801,7 +801,7 @@ static int mts_id_eeprom_load() if(DEVICE_CAPA(id_eeprom.capa, CAPA_GNSS)) { 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_wifi_bt_attributes / (sizeof (struct attribute *)); + current_count += sizeof mtcdt_0_1_gnss_attributes / (sizeof (struct attribute *)); } all_attrs[current_count] = (struct attribute *)NULL; mtcdt_0_1_platform_attribute_group.attrs = all_attrs; |