From e9f0103063f54d2f144666e7ccbd90ed14fef222 Mon Sep 17 00:00:00 2001
From: rmackay9 <rmackay9@yahoo.com>
Date: Thu, 5 Apr 2012 00:06:33 +0900
Subject: [PATCH] AP_MotorsHeli - fixed compiler warning re move_swash function
 declared with int parameters in .h file but actually using int16_t in .cpp
 file.  They're the same in arduino but perhaps the build checker is a little
 more strict that Arduino.

---
 libraries/AP_Motors/AP_MotorsHeli.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libraries/AP_Motors/AP_MotorsHeli.h b/libraries/AP_Motors/AP_MotorsHeli.h
index 9ad39d9c5..3d3b162a7 100644
--- a/libraries/AP_Motors/AP_MotorsHeli.h
+++ b/libraries/AP_Motors/AP_MotorsHeli.h
@@ -95,7 +95,7 @@ public:
 	virtual void init_swash();
 
 	// heli_move_swash - moves swash plate to attitude of parameters passed in
-	virtual void move_swash(int roll_out, int pitch_out, int coll_out, int yaw_out);
+	virtual void move_swash(int16_t roll_out, int16_t pitch_out, int16_t coll_out, int16_t yaw_out);
 
 	// var_info for holding Parameter information
 	static const struct AP_Param::GroupInfo var_info[];
-- 
GitLab