[Bufgix][API-1207][FOTA]delete check pthread
Only Configure: No
Affected branch: GSW3.0-No-Connman
Affected module: sdk-ready
Is it addected on both ZXIC and MTK: only MTK
Self-test: Yes
Doc Update: No
Change-Id: I6da8b7dc5b35fc2ef6fc96c7d0bf97036423fc1c
diff --git a/src/lynq/framework/lynq-sdk-ready/src/makefile b/src/lynq/framework/lynq-sdk-ready/src/makefile
index c1638ae..1030e02 100755
--- a/src/lynq/framework/lynq-sdk-ready/src/makefile
+++ b/src/lynq/framework/lynq-sdk-ready/src/makefile
@@ -3,6 +3,7 @@
LOCAL_CFLAGS := -Wall \
-g -Os \
+ -std=gnu++14 \
-flto \
-DRIL_SHLIB \
-DATCI_PARSE \
diff --git a/src/lynq/framework/lynq-sdk-ready/src/timer/lynq_timer.cpp b/src/lynq/framework/lynq-sdk-ready/src/timer/lynq_timer.cpp
index 24ffcb4..9d5726a 100755
--- a/src/lynq/framework/lynq-sdk-ready/src/timer/lynq_timer.cpp
+++ b/src/lynq/framework/lynq-sdk-ready/src/timer/lynq_timer.cpp
@@ -252,7 +252,7 @@
return ;
}
-
+/*
void *check(void * arg)
{
@@ -361,6 +361,7 @@
}
}
+*/
void *check_uci(void * arg)
{
@@ -489,11 +490,13 @@
return;
}
sleep(20);
+ /*
ret = pthread_create(&thid_1, NULL, check, NULL);
if(ret != 0){
RLOGD("pthread_create error!!!");
return;
}
+ */
ret = pthread_create(&thid_2,NULL,check_uci,NULL);
if(ret != 0){