From 9945bf03567688a6692b85509e6c1f24d0a77041 Mon Sep 17 00:00:00 2001
From: patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>
Date: Sat, 30 Oct 2010 19:17:40 +0000
Subject: [PATCH] Fix conditional compilation

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3062 42af7a65-404d-4744-a932-0658087f49c3
---
 arch/avr/src/at32uc3/at32uc3_clkinit.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/avr/src/at32uc3/at32uc3_clkinit.c b/arch/avr/src/at32uc3/at32uc3_clkinit.c
index 3f2c7c096c..8dc1ae4f10 100644
--- a/arch/avr/src/at32uc3/at32uc3_clkinit.c
+++ b/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
 
-- 
GitLab