mirror of https://git.musl-libc.org/git/musl
add MOD_TAI to sys/timex.h and update STA_RONLY
This commit is contained in:
parent
d650631dad
commit
200f96c6a0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue