From 200f96c6a04cb1b3af702968b86c363c6a73a50b Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sat, 12 Jan 2013 19:14:34 +0100 Subject: add MOD_TAI to sys/timex.h and update STA_RONLY --- include/sys/timex.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/sys/timex.h b/include/sys/timex.h index f37c13ce..08f4b094 100644 --- 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 -- cgit v1.2.1