summaryrefslogtreecommitdiff
path: root/nuttx/arch/avr/src/at32uc3
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-10-30 19:17:40 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-10-30 19:17:40 +0000
commit8f487d35c10519ea6f4ab7a96750daa953453c53 (patch)
treecacc07dc0280b22d23a0b4b0943b06c59f525cfe /nuttx/arch/avr/src/at32uc3
parente89dca25707d246a88bb7ba3241a998213c476ee (diff)
downloadpx4-nuttx-8f487d35c10519ea6f4ab7a96750daa953453c53.tar.gz
px4-nuttx-8f487d35c10519ea6f4ab7a96750daa953453c53.tar.bz2
px4-nuttx-8f487d35c10519ea6f4ab7a96750daa953453c53.zip
Fix conditional compilation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3062 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/avr/src/at32uc3')
-rw-r--r--nuttx/arch/avr/src/at32uc3/at32uc3_clkinit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/avr/src/at32uc3/at32uc3_clkinit.c b/nuttx/arch/avr/src/at32uc3/at32uc3_clkinit.c
index 3f2c7c096..8dc1ae4f1 100644
--- a/nuttx/arch/avr/src/at32uc3/at32uc3_clkinit.c
+++ b/nuttx/arch/avr/src/at32uc3/at32uc3_clkinit.c
@@ -55,13 +55,13 @@
#if defined(AVR32_CLOCK_OSC0) || \
(defined (AVR32_CLOCK_PLL0) && defined(AVR32_CLOCK_PLL0_OSC0)) || \
- (defined (AVR32_CLOCK_PLL0) && defined(AVR32_CLOCK_PLL0_OSC0))
+ (defined (AVR32_CLOCK_PLL1) && defined(AVR32_CLOCK_PLL1_OSC0))
# define NEED_OSC0
#endif
#if defined(AVR32_CLOCK_OSC1) || \
(defined (AVR32_CLOCK_PLL0) && defined(AVR32_CLOCK_PLL0_OSC1)) || \
- (defined (AVR32_CLOCK_PLL1) && defined(AVR32_CLOCK_PLL0_OSC1))
+ (defined (AVR32_CLOCK_PLL1) && defined(AVR32_CLOCK_PLL1_OSC1))
# define NEED_OSC1
#endif