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.

This commit is contained in:
rmackay9 2012-04-05 00:06:33 +09:00
parent 926211f0f0
commit 7a8973eaf0
1 changed files with 1 additions and 1 deletions

View File

@ -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[];