projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d650631
)
add MOD_TAI to sys/timex.h and update STA_RONLY
author
Szabolcs Nagy
<nsz@port70.net>
Sat, 12 Jan 2013 18:14:34 +0000
(19:14 +0100)
committer
Szabolcs Nagy
<nsz@port70.net>
Sat, 12 Jan 2013 18:42:39 +0000
(19:42 +0100)
include/sys/timex.h
patch
|
blob
|
history
diff --git
a/include/sys/timex.h
b/include/sys/timex.h
index f37c13cefee8f2a02e1b30ea995b4102b24f3ac1..08f4b0946651ab0c4242a5dd40db9f133b22c52a 100644
(file)
--- a/
include/sys/timex.h
+++ b/
include/sys/timex.h
@@
-50,6
+50,7
@@
struct timex {
#define MOD_TIMECONST ADJ_TIMECONST
#define MOD_CLKB ADJ_TICK
#define MOD_CLKA ADJ_OFFSET_SINGLESHOT
+#define MOD_TAI ADJ_TAI
#define MOD_MICRO ADJ_MICRO
#define MOD_NANO ADJ_NANO
@@
-74,7
+75,7
@@
struct timex {
#define STA_CLK 0x8000
#define STA_RONLY (STA_PPSSIGNAL | STA_PPSJITTER | STA_PPSWANDER | \
- STA_PPSERROR | STA_CLOCKERR)
+ STA_PPSERROR | STA_CLOCKERR
| STA_NANO | STA_MODE | STA_CLK
)
#define TIME_OK 0
#define TIME_INS 1