diff --git a/libraries/AP_Motors/AP_MotorsHeli_RSC.cpp b/libraries/AP_Motors/AP_MotorsHeli_RSC.cpp index 960acbb7fe..03d4bdb5c4 100644 --- a/libraries/AP_Motors/AP_MotorsHeli_RSC.cpp +++ b/libraries/AP_Motors/AP_MotorsHeli_RSC.cpp @@ -18,6 +18,7 @@ #include #include "AP_MotorsHeli_RSC.h" #include +#include extern const AP_HAL::HAL& hal; diff --git a/libraries/AP_Motors/AP_MotorsHeli_RSC.h b/libraries/AP_Motors/AP_MotorsHeli_RSC.h index d7f97bdeb8..ac61f4c65c 100644 --- a/libraries/AP_Motors/AP_MotorsHeli_RSC.h +++ b/libraries/AP_Motors/AP_MotorsHeli_RSC.h @@ -4,7 +4,7 @@ #include // ArduPilot Mega Vector/Matrix math Library #include #include -#include +#include // default main rotor speed (ch8 out) as a number from 0 ~ 100 #define AP_MOTORS_HELI_RSC_SETPOINT 70 diff --git a/libraries/AP_Motors/AP_MotorsHeli_Swash.cpp b/libraries/AP_Motors/AP_MotorsHeli_Swash.cpp index b5293de186..b49fb73dcb 100644 --- a/libraries/AP_Motors/AP_MotorsHeli_Swash.cpp +++ b/libraries/AP_Motors/AP_MotorsHeli_Swash.cpp @@ -16,6 +16,7 @@ #include #include #include +#include #include "AP_MotorsHeli_Swash.h" diff --git a/libraries/AP_Motors/AP_MotorsHeli_Swash.h b/libraries/AP_Motors/AP_MotorsHeli_Swash.h index a1c84b21a2..4f12ba2f19 100644 --- a/libraries/AP_Motors/AP_MotorsHeli_Swash.h +++ b/libraries/AP_Motors/AP_MotorsHeli_Swash.h @@ -5,7 +5,7 @@ #include #include // ArduPilot Mega Vector/Matrix math Library #include -#include +#include // swashplate types enum SwashPlateType {