From bbadecee80cf2f48a43097328bb24b73f236934c Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 2 Oct 2011 14:16:30 +0000 Subject: Remove support for UTC time; add support for 64-bit time git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4006 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/configs/vsn/nsh/defconfig | 1 - nuttx/configs/vsn/src/sif.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'nuttx/configs/vsn') diff --git a/nuttx/configs/vsn/nsh/defconfig b/nuttx/configs/vsn/nsh/defconfig index ddb8114ec..7c9a4ce68 100755 --- a/nuttx/configs/vsn/nsh/defconfig +++ b/nuttx/configs/vsn/nsh/defconfig @@ -269,7 +269,6 @@ CONFIG_WIRELESS=y CONFIG_RTC=y CONFIG_RTC_HIRES=y CONFIG_RTC_FREQUENCY=16384 -CONFIG_SYSTEM_UTC=y # # OS support for events diff --git a/nuttx/configs/vsn/src/sif.c b/nuttx/configs/vsn/src/sif.c index e185d8d0d..3c304a3b2 100644 --- a/nuttx/configs/vsn/src/sif.c +++ b/nuttx/configs/vsn/src/sif.c @@ -712,7 +712,7 @@ int sif_main(int argc, char *argv[]) fprintf(stderr, "%s:\tinit\n\tgpio\tA B\n\tpwr\tval\n", argv[0]); struct timespec t_active; - clock_gettime(CLOCK_ACTIVETIME, &t_active); + clock_gettime(CLOCK_REALTIME, &t_active); fprintf(stderr, "rtc time = %u, active = %u / %u, time / systick = %u / %u\n", up_rtc_time(), t_active.tv_sec, t_active.tv_nsec, -- cgit v1.2.3