mirror of
https://github.com/openharmony/miscservices_time.git
synced 2026-07-19 12:02:04 -04:00
@@ -569,8 +569,6 @@ bool TimeService::GetTimeByClockid(clockid_t clk_id, struct timespec &tv)
|
||||
TIME_HILOGE(TIME_MODULE_SERVICE, "Failed clock_gettime.");
|
||||
return false;
|
||||
}
|
||||
auto times = tv.tv_sec * NANO_TO_BASE + tv.tv_nsec;
|
||||
TIME_HILOGD(TIME_MODULE_SERVICE, "Clock ID: %{public}d", clk_id);
|
||||
return true;
|
||||
}
|
||||
void TimeService::NetworkTimeStatusOff()
|
||||
|
||||
Reference in New Issue
Block a user