gnss: fix ind api timeout
Change-Id: I1a6e74dccd88fa3b0b0d1aafacb82083b740b27d
diff --git a/mbtk/mbtk_gnssd/gnss_main.c b/mbtk/mbtk_gnssd/gnss_main.c
index 76971c3..e319a45 100755
--- a/mbtk/mbtk_gnssd/gnss_main.c
+++ b/mbtk/mbtk_gnssd/gnss_main.c
@@ -61,6 +61,9 @@
static int debug_fd = -1;
static int debug_fd_len = 0;
#endif
+
+static bool mbtk_gnss_time_set_flag = 0;
+
static int gnss_pty_master_fd = -1;
static int gnss_pty_slave_fd = -1;
static int gnss_usb_at_port_fd = -1;
@@ -438,17 +441,6 @@
return tok;
}
-typedef enum {
- LYNQ_TIME_TYPE_CELL = 0, //NITZ
- LYNQ_TIME_TYPE_NTP,
- LYNQ_TIME_TYPE_GNSS,
- LYNQ_TIME_TYPE_USER,
-
- LYNQ_TIME_TYPE_UNUSE
-} lynq_time_type_enum;
-
-bool mbtk_gnss_time_set_flag = 0;
-
static int mbtk_time_type_gnss_read() {
int type = 0;
char time_type[] ={0};