Add mbtk_source git commit info
Change-Id: I9867613657db269bba81d28c4b3712062ae41bdd
diff --git a/mbtk/mbtk_gnssd/gnss_main.c b/mbtk/mbtk_gnssd/gnss_main.c
index e319a45..c0eae05 100755
--- a/mbtk/mbtk_gnssd/gnss_main.c
+++ b/mbtk/mbtk_gnssd/gnss_main.c
@@ -38,7 +38,7 @@
#define GNSS_FILE_LOG_MAX 104857600 // 100MB
#endif
-gnss_info_t gnss_info;
+gnss_info_t gnss_info;
#ifdef MBTK_GNSS_UBUS_ENABLE
struct ubus_context *gnss_ubus_init(void);
@@ -388,7 +388,7 @@
return -1;
}
- while (p <= q)
+ while (p <= q)
{
tmp = memchr(p, ',', q-p);
if (tmp == NULL)
@@ -406,7 +406,7 @@
count += 1;
}
}
-
+
if (tmp <= q)
{
tmp += 1;
@@ -512,9 +512,9 @@
memcpy(tmp_char, time.head + 4, 2);
tmp_time.tm_sec = atoi(tmp_char);
tmp_time.tm_isdst = -1;
-
- LOGD("data:%d-%d-%d %d:%d:%d", tmp_time.tm_year + 1900,
+
+ LOGD("data:%d-%d-%d %d:%d:%d", tmp_time.tm_year + 1900,
tmp_time.tm_mon,
tmp_time.tm_mday,
tmp_time.tm_hour,
@@ -1140,7 +1140,7 @@
}
ind_info[index].cli_fd = fd;
ind_info[index].ind_flag = (uint32)ind_type;
- } else { // Change flag
+ } else { // Change flag
ind_info[index].cli_fd = fd;
ind_info[index].ind_flag = (uint32)ind_type;
}
@@ -1153,7 +1153,7 @@
if(index == GNSS_CLI_IND_MAX) {
return GNSS_ERR_ARG;
- }
+ }
ind_info[index].cli_fd = 0;
ind_info[index].ind_flag = 0;
}
@@ -1210,6 +1210,8 @@
{
mbtk_log_init("radio", GNSS_TAG);
+ MBTK_SOURCE_INFO_PRINT("mbtk_gnssd");
+
#ifdef MBTK_DUMP_SUPPORT
mbtk_debug_open(NULL, TRUE);
#endif