From 9a20fe32fa4a3dfaf593f96140edd478acfb99f0 Mon Sep 17 00:00:00 2001
From: Robert Lefebvre <robert.lefebvre@gmail.com>
Date: Thu, 18 Oct 2012 16:50:42 -0400
Subject: [PATCH] Fixed that last commit #define Stupid_Mistake

---
 ArduCopter/config.h | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/ArduCopter/config.h b/ArduCopter/config.h
index 7ba220d7b..cb66829df 100644
--- a/ArduCopter/config.h
+++ b/ArduCopter/config.h
@@ -546,11 +546,7 @@
 
 // AUTO Mode
 #ifndef AUTO_YAW
- #if FRAME_CONFIG == HELI_FRAME
-  # define AUTO_YAW                       YAW_LOOK_AT_HOME
- #else
-  # define AUTO_YAW                       YAW_AUTO
- #endif
+ # define AUTO_YAW                       YAW_AUTO
 #endif
 
 #ifndef AUTO_RP
@@ -590,7 +586,11 @@
 
 // RTL Mode
 #ifndef RTL_YAW
- # define RTL_YAW                        YAW_HOLD
+ #if FRAME_CONFIG == HELI_FRAME
+  # define RTL_YAW                    	  YAW_LOOK_AT_HOME
+ #else
+  # define RTL_YAW                        YAW_HOLD
+ #endif
 #endif
 
 #ifndef RTL_RP
-- 
GitLab