public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e85245
)
netd: note clock_arch check to do
author
Alan Cox
<alan@linux.intel.com>
Fri, 3 Nov 2017 23:40:28 +0000
(23:40 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Fri, 3 Nov 2017 23:40:28 +0000
(23:40 +0000)
Applications/netd/clock-arch.c
patch
|
blob
|
history
diff --git
a/Applications/netd/clock-arch.c
b/Applications/netd/clock-arch.c
index
596017e
..
26ade45
100644
(file)
--- a/
Applications/netd/clock-arch.c
+++ b/
Applications/netd/clock-arch.c
@@
-46,15
+46,12
@@
clock_time_t
clock_time(void)
{
- struct timeval tv;
- struct timezone tz;
-
- // gettimeofday(&tv, &tz);
struct{
uint16_t high;
uint16_t low;
}now;
_time((__ktime_t *)&now,1);
+ /* FIXME: needs a multiplier to turn into ms FIXME */
return now.low;
// return tv.tv_sec * 1000 + tv.tv_usec / 1000;
}