summaryrefslogtreecommitdiff
path: root/nuttx/sched/sched_processtimer.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-02-21 02:19:19 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-02-21 02:19:19 +0000
commit94e5b72f50f3096b83fe50c7b57324a08e318f29 (patch)
tree99970ffd265837ba0a438605c929cff0b338b0ea /nuttx/sched/sched_processtimer.c
parentf26db4e2308c961f1cb52fcb656c85a144f8fd16 (diff)
downloadpx4-nuttx-94e5b72f50f3096b83fe50c7b57324a08e318f29.tar.gz
px4-nuttx-94e5b72f50f3096b83fe50c7b57324a08e318f29.tar.bz2
px4-nuttx-94e5b72f50f3096b83fe50c7b57324a08e318f29.zip
Eliminating SDCC compilation errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@17 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/sched_processtimer.c')
-rw-r--r--nuttx/sched/sched_processtimer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/sched/sched_processtimer.c b/nuttx/sched/sched_processtimer.c
index de066eb46..bb56dbacb 100644
--- a/nuttx/sched/sched_processtimer.c
+++ b/nuttx/sched/sched_processtimer.c
@@ -161,14 +161,18 @@ void sched_process_timer(void)
{
/* Increment the system time (if in the link) */
+#ifdef CONFIG_HAVE_WEAKFUNCTIONS
if (clock_timer != NULL)
+#endif
{
clock_timer();
}
/* Process watchdogs (if in the link) */
+#ifdef CONFIG_HAVE_WEAKFUNCTIONS
if (wd_timer != NULL)
+#endif
{
wd_timer();
}