diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-01 21:46:29 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-01 21:46:29 +0000 |
commit | 4d8e6c8b20842aaecc671883846fff8a81535f07 (patch) | |
tree | a5fb39b29f615f04a57f2b4b0d7b898e1957dd22 /nuttx/sched/os_start.c | |
parent | 08680a039b6ffc922731d9a1cfdff20ef204dbba (diff) | |
download | px4-nuttx-4d8e6c8b20842aaecc671883846fff8a81535f07.tar.gz px4-nuttx-4d8e6c8b20842aaecc671883846fff8a81535f07.tar.bz2 px4-nuttx-4d8e6c8b20842aaecc671883846fff8a81535f07.zip |
Add logic to suppress clock_ APIs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@27 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/os_start.c')
-rw-r--r-- | nuttx/sched/os_start.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nuttx/sched/os_start.c b/nuttx/sched/os_start.c index 5cf7c940f..1238342c4 100644 --- a/nuttx/sched/os_start.c +++ b/nuttx/sched/os_start.c @@ -306,12 +306,14 @@ void os_start(void) /* Initialize the POSIX timer facility (if included in the link) */ +#ifndef CONFIG_DISABLE_CLOCK #ifdef CONFIG_HAVE_WEAKFUNCTIONS if (clock_initialize != NULL) #endif { clock_initialize(); } +#endif /* Initialize the watchdog facility (if included in the link) */ |