Skip to content
Snippets Groups Projects
Commit e9f01030 authored by rmackay9's avatar rmackay9
Browse files

AP_MotorsHeli - fixed compiler warning re move_swash function declared with...

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.
parent 40e5a154
No related branches found
No related tags found
No related merge requests found
...@@ -95,7 +95,7 @@ public: ...@@ -95,7 +95,7 @@ public:
virtual void init_swash(); virtual void init_swash();
// heli_move_swash - moves swash plate to attitude of parameters passed in // 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 // var_info for holding Parameter information
static const struct AP_Param::GroupInfo var_info[]; static const struct AP_Param::GroupInfo var_info[];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment