summaryrefslogtreecommitdiff
path: root/nuttx/sched/timer_internal.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-03-21 20:03:32 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-03-21 20:03:32 +0000
commitf895e2fefee423d37285d8af1697c7f91d211aed (patch)
tree9db871d9fe9c12f9ff793291d089ef3256e690e5 /nuttx/sched/timer_internal.h
parent038192c8c108c106ee6b5d918eabc0c0274b14fa (diff)
downloadpx4-nuttx-f895e2fefee423d37285d8af1697c7f91d211aed.tar.gz
px4-nuttx-f895e2fefee423d37285d8af1697c7f91d211aed.tar.bz2
px4-nuttx-f895e2fefee423d37285d8af1697c7f91d211aed.zip
timer_gettime was not returning the right value for it_interval
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@116 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/timer_internal.h')
-rw-r--r--nuttx/sched/timer_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nuttx/sched/timer_internal.h b/nuttx/sched/timer_internal.h
index 1c1e8ec54..604adbc8e 100644
--- a/nuttx/sched/timer_internal.h
+++ b/nuttx/sched/timer_internal.h
@@ -65,6 +65,7 @@ struct posix_timer_s
ubyte pt_signo; /* Notification signal */
pid_t pt_owner; /* Creator of timer */
int pt_delay; /* If non-zero, used to reset repetitive timers */
+ int pt_last; /* Last value used to set watchdog */
WDOG_ID pt_wdog; /* The watchdog that provides the timing */
union sigval pt_value; /* Data passed with notification */
};