Add mbtk_source git commit info
Change-Id: I9867613657db269bba81d28c4b3712062ae41bdd
diff --git a/mbtk/mbtk_sdk_ready/src/main.c b/mbtk/mbtk_sdk_ready/src/main.c
index 12a3c61..bcb696b 100755
--- a/mbtk/mbtk_sdk_ready/src/main.c
+++ b/mbtk/mbtk_sdk_ready/src/main.c
@@ -22,7 +22,7 @@
MBTK_READY_SOCKET_FAIL,
MBTK_READY_RIL_FAIL
}mbtk_ready_status_type;
-
+
static mbtk_ready_status_type mbtk_ready_status = MBTK_READY_INIT;
static mbtk_info_handle_t* mbtk_handle = NULL;
#if 1
@@ -86,7 +86,7 @@
{
sleep_time = 30;
}
-
+
sleep(sleep_time);
}
LOGE("[SDK_READY] sdk_ready_check_pthread exit.");
@@ -95,6 +95,10 @@
int main(int argc, char *argv[])
{
+ mbtk_log_init("radio", "MBTK_SDK_READY");
+
+ MBTK_SOURCE_INFO_PRINT("mbtk_sdk_ready");
+
if(mbtk_ready_status != MBTK_READY_INIT)
{
LOGE("[SDK_READY] sdk has check.");
@@ -114,7 +118,7 @@
LOGE("[SDK_READY] pthread_attr_setdetachstate() fail.");
return MBTK_RESULT_FAIL;
}
-
+
if(pthread_create(&sdk_ready_pid, &thread_attr, sdk_ready_check_pthread, NULL))
{
LOGE("[SDK_READY] pthread_create() fail.");