diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-01-30 22:33:00 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-01-30 22:33:00 +0000 |
commit | cb64af63102146a067dd2961859084d8b79b8148 (patch) | |
tree | d0d24b815859e0deb9119a9a239dba2ae7e2ad81 /nuttx/arch/z16 | |
parent | 6706284921ae317e32f5e391d401f8eaa3d6e3a5 (diff) | |
download | px4-nuttx-cb64af63102146a067dd2961859084d8b79b8148.tar.gz px4-nuttx-cb64af63102146a067dd2961859084d8b79b8148.tar.bz2 px4-nuttx-cb64af63102146a067dd2961859084d8b79b8148.zip |
Recalibrate delay loop
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@593 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/z16')
-rw-r--r-- | nuttx/arch/z16/src/common/up_initialize.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/nuttx/arch/z16/src/common/up_initialize.c b/nuttx/arch/z16/src/common/up_initialize.c index b7fc643d2..0a6a220f8 100644 --- a/nuttx/arch/z16/src/common/up_initialize.c +++ b/nuttx/arch/z16/src/common/up_initialize.c @@ -53,7 +53,10 @@ * Definitions ****************************************************************************/ -/* Define to enable timing loop calibration */ +/* Define to enable timing loop calibration. CONFIG_DEBUG and + * CONFIG_ARCH_LOWPUTC must also be enabled in the .config file because + * the logic uses lldbg() + */ #undef CONFIG_ARCH_CALIBRATION @@ -90,7 +93,7 @@ FAR chipreg_t *current_regs; * ****************************************************************************/ -#if defined(CONFIG_ARCH_CALIBRATION) & defined(CONFIG_DEBUG) +#if defined(CONFIG_ARCH_CALIBRATION) & defined(CONFIG_DEBUG) && defined(CONFIG_ARCH_LOWPUTC) static void up_calibratedelay(void) { int i; |