diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-03-16 00:53:32 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-03-16 00:53:32 +0000 |
commit | 4701309f2cc828598885175e7d61ffc8d4edf043 (patch) | |
tree | 7d7b258e313f38ff8233141a811f46ba9c079869 /nuttx/arch/arm/src/lpc313x/lpc313x_fdcndx.c | |
parent | aff5322d8d9bf10f227507321dcc76c6b6ec9055 (diff) | |
download | px4-nuttx-4701309f2cc828598885175e7d61ffc8d4edf043.tar.gz px4-nuttx-4701309f2cc828598885175e7d61ffc8d4edf043.tar.bz2 px4-nuttx-4701309f2cc828598885175e7d61ffc8d4edf043.zip |
Bugfixes submitted by David Hewson
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2543 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/lpc313x/lpc313x_fdcndx.c')
-rwxr-xr-x | nuttx/arch/arm/src/lpc313x/lpc313x_fdcndx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/lpc313x/lpc313x_fdcndx.c b/nuttx/arch/arm/src/lpc313x/lpc313x_fdcndx.c index 128f321db..dc66405d5 100755 --- a/nuttx/arch/arm/src/lpc313x/lpc313x_fdcndx.c +++ b/nuttx/arch/arm/src/lpc313x/lpc313x_fdcndx.c @@ -1,7 +1,7 @@ /************************************************************************ * arch/arm/src/lpc313x/lpc313x_fdcndx.c * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2009-2010 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * References: @@ -109,7 +109,7 @@ int lpc313x_fdcndx(enum lpc313x_clockid_e clkid, enum lpc313x_domainid_e dmnid) { /* Read the clock's ESR to get the fractional divider */ - uint32_t regval = getreg32(LPC313X_CGU_ESR_OFFSET(esrndx)); + uint32_t regval = getreg32(LPC313X_CGU_ESR(esrndx)); /* Check if any fractional divider is enabled for this clock. */ |