commit | 51d65f9791ec8c9c03da74ed701eeb131f4d9e4a | [log] [tgz] |
---|---|---|
author | luojian <j.luo@mobiletek.cn> | Thu Aug 08 15:39:42 2024 +0800 |
committer | luojian <j.luo@mobiletek.cn> | Thu Aug 08 15:39:42 2024 +0800 |
tree | b992f37ac4f5bcd55d1199150f4ffcff4b34efc7 | |
parent | 37ed49cf798f4e1bbac69552e77d38134bcf66d1 [diff] [blame] |
Bug【87624】rtc time set for ntp_nitz_gnss time Change-Id: I583c8ed65df644c9c9df0065953e82e416b666ea
diff --git a/mbtk/mbtk_gnssd/gnss_main.c b/mbtk/mbtk_gnssd/gnss_main.c index 33fd1d6..76971c3 100755 --- a/mbtk/mbtk_gnssd/gnss_main.c +++ b/mbtk/mbtk_gnssd/gnss_main.c
@@ -543,7 +543,8 @@ mbtk_gnss_time_set_flag = 0; } else { LOGD("%s: , Set time success \n", __func__); - mbtk_gnss_time_set_flag = 1; + system("hwclock -w rtc0"); + mbtk_gnss_time_set_flag = 1; } return 0;