mirror of
https://github.com/apache/nuttx.git
synced 2026-10-17 19:18:55 +00:00
Calibrate lm3s6918 timing loop
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1792 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
318b2b512b
commit
56afcd6433
1 changed files with 3 additions and 7 deletions
|
|
@ -52,10 +52,6 @@
|
|||
* Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/* Define to enable timing loop calibration */
|
||||
|
||||
#undef CONFIG_ARM_CALIBRATION
|
||||
|
||||
/****************************************************************************
|
||||
* Private Types
|
||||
****************************************************************************/
|
||||
|
|
@ -74,16 +70,16 @@
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
#if defined(CONFIG_ARM_CALIBRATION) & defined(CONFIG_DEBUG)
|
||||
#if defined(CONFIG_ARCH_CALIBRATION) && defined(CONFIG_DEBUG)
|
||||
static void up_calibratedelay(void)
|
||||
{
|
||||
int i;
|
||||
slldbg("Beginning 100s delay\n");
|
||||
lldbg("Beginning 100s delay\n");
|
||||
for (i = 0; i < 100; i++)
|
||||
{
|
||||
up_mdelay(1000);
|
||||
}
|
||||
slldbg("End 100s delay\n");
|
||||
lldbg("End 100s delay\n");
|
||||
}
|
||||
#else
|
||||
# define up_calibratedelay()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue