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
This commit is contained in:
parent
d77e01f518
commit
b33f96e65f
@ -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
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user