mirror of
https://git.code.sf.net/p/fldigi/flrig
synced 2026-08-13 17:28:24 -04:00
TOD clock
* correction to millisecond field
This commit is contained in:
parent
9bb871cbe7
commit
f3e062225b
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ void ztimer()
|
|||
t_temp=(time_t)tv.tv_sec;
|
||||
gmtime_r(&t_temp, &tm);
|
||||
|
||||
_zmsec = (tv.tv_usec/1000) % 1000 + tv.tv_sec * 1000;
|
||||
_zmsec = tv.tv_usec / 1000;
|
||||
_zsec = tm.tm_sec;
|
||||
_zmin = tm.tm_min;
|
||||
_zhr = tm.tm_hour;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue