From c27b83c8a8f81a5bfdeccd8029eed7f3c22d901d Mon Sep 17 00:00:00 2001
From: rmackay9 <rmackay9@yahoo.com>
Date: Thu, 5 Apr 2012 00:24:56 +0900
Subject: [PATCH] AP_MotorsMatrix - fixed another compiler error regarding
 shadowing a variable.  Fixed by removing those  the angle and direction
 arrays which weren't even used

---
 libraries/AP_Motors/AP_MotorsMatrix.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libraries/AP_Motors/AP_MotorsMatrix.h b/libraries/AP_Motors/AP_MotorsMatrix.h
index 758ebff73..0384ccf3e 100644
--- a/libraries/AP_Motors/AP_MotorsMatrix.h
+++ b/libraries/AP_Motors/AP_MotorsMatrix.h
@@ -66,8 +66,6 @@ public:
 	virtual void setup_motors() { remove_all_motors(); };
 
 	// matrix
-	AP_Int16	angle[AP_MOTORS_MAX_NUM_MOTORS];			// angle in degrees from the front of the copter
-	AP_Int8		direction[AP_MOTORS_MAX_NUM_MOTORS];		// direction of rotation of the motor (-1 = clockwise, +1 = counter clockwise)
 	AP_Int8		opposite_motor[AP_MOTORS_MAX_NUM_MOTORS];	// motor number of the opposite motor
 	AP_Int8		test_order[AP_MOTORS_MAX_NUM_MOTORS];		// order of the motors in the test sequence
 
-- 
GitLab