修复sleep模块demo错误,优化sleep模块符合T106的特性,优化SMS模块符合T106使用特性
Change-Id: I1395209baad0a8cc670f73f8fa550bc0986c32d1
diff --git a/mbtk/lynq_lib/src/lynq_sms.c b/mbtk/lynq_lib/src/lynq_sms.c
index 0fbed26..955e4d9 100755
--- a/mbtk/lynq_lib/src/lynq_sms.c
+++ b/mbtk/lynq_lib/src/lynq_sms.c
@@ -164,7 +164,7 @@
return -1;
//设置存储器
-
+/*
if (pt_sms_info->storage == 0)
{
strcpy(mem, "SM");
@@ -186,7 +186,7 @@
} else {
LOGI("cpms set success. resp:%s", resp);
}
-
+*/
if(data == NULL)
{
LOGE("qser_sms_send_sms data NULL");
@@ -361,7 +361,7 @@
LOGE("qser_sms_deletefromstorage sms_info_handle NULL");
return -1;
}
-
+/*
t_storage = pt_sms_storage->storage; //设置存储器
if (t_storage == 0)
@@ -385,6 +385,7 @@
} else {
LOGI("cpms set success. resp:%s", resp);
}
+*/
id_x = pt_sms_storage->storage_idx;//获取idx的值