summaryrefslogtreecommitdiff
path: root/nuttx/configs/vsn/src
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-10-03 12:21:20 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-10-03 12:21:20 +0000
commit459c337817e461bc5aed4d14fab869e7d699b6f1 (patch)
tree4c0d7f6d3cc19316ac79767b000f7005c442d015 /nuttx/configs/vsn/src
parent5246751cb564522530b70b4f171dbd3d09a6eb4b (diff)
downloadpx4-nuttx-459c337817e461bc5aed4d14fab869e7d699b6f1.tar.gz
px4-nuttx-459c337817e461bc5aed4d14fab869e7d699b6f1.tar.bz2
px4-nuttx-459c337817e461bc5aed4d14fab869e7d699b6f1.zip
Restore CLOCK_ACTIVETIME
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4009 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/vsn/src')
-rw-r--r--nuttx/configs/vsn/src/sif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/configs/vsn/src/sif.c b/nuttx/configs/vsn/src/sif.c
index 3c304a3b2..e185d8d0d 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_REALTIME, &t_active);
+ clock_gettime(CLOCK_ACTIVETIME, &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,