diff --git a/libraries/AP_Motors/AP_MotorsCoax.cpp b/libraries/AP_Motors/AP_MotorsCoax.cpp index 82cc47511d..f9249431d1 100644 --- a/libraries/AP_Motors/AP_MotorsCoax.cpp +++ b/libraries/AP_Motors/AP_MotorsCoax.cpp @@ -17,6 +17,7 @@ #include #include "AP_MotorsCoax.h" #include +#include extern const AP_HAL::HAL& hal; diff --git a/libraries/AP_Motors/AP_MotorsCoax.h b/libraries/AP_Motors/AP_MotorsCoax.h index cbc07b39cd..721d3f37e2 100644 --- a/libraries/AP_Motors/AP_MotorsCoax.h +++ b/libraries/AP_Motors/AP_MotorsCoax.h @@ -4,7 +4,6 @@ #include #include // ArduPilot Mega Vector/Matrix math Library -#include #include "AP_MotorsMulticopter.h" // feedback direction diff --git a/libraries/AP_Motors/AP_MotorsSingle.cpp b/libraries/AP_Motors/AP_MotorsSingle.cpp index c693e53b05..1f1db46d21 100644 --- a/libraries/AP_Motors/AP_MotorsSingle.cpp +++ b/libraries/AP_Motors/AP_MotorsSingle.cpp @@ -17,6 +17,7 @@ #include #include "AP_MotorsSingle.h" #include +#include extern const AP_HAL::HAL& hal; diff --git a/libraries/AP_Motors/AP_MotorsSingle.h b/libraries/AP_Motors/AP_MotorsSingle.h index 5f9264dcf5..eca99e501a 100644 --- a/libraries/AP_Motors/AP_MotorsSingle.h +++ b/libraries/AP_Motors/AP_MotorsSingle.h @@ -4,7 +4,6 @@ #include #include // ArduPilot Mega Vector/Matrix math Library -#include #include "AP_MotorsMulticopter.h" // feedback direction diff --git a/libraries/AP_Motors/AP_MotorsTailsitter.cpp b/libraries/AP_Motors/AP_MotorsTailsitter.cpp index ae1a361d3c..f8d8bb1598 100644 --- a/libraries/AP_Motors/AP_MotorsTailsitter.cpp +++ b/libraries/AP_Motors/AP_MotorsTailsitter.cpp @@ -22,6 +22,7 @@ #include #include "AP_MotorsTailsitter.h" #include +#include extern const AP_HAL::HAL& hal; diff --git a/libraries/AP_Motors/AP_MotorsTailsitter.h b/libraries/AP_Motors/AP_MotorsTailsitter.h index e1d6e9fa3e..679c25ad50 100644 --- a/libraries/AP_Motors/AP_MotorsTailsitter.h +++ b/libraries/AP_Motors/AP_MotorsTailsitter.h @@ -4,7 +4,6 @@ #include #include -#include #include "AP_MotorsMulticopter.h" /// @class AP_MotorsTailsitter diff --git a/libraries/AP_Motors/AP_MotorsTri.cpp b/libraries/AP_Motors/AP_MotorsTri.cpp index 6486ad8399..418a7b88fb 100644 --- a/libraries/AP_Motors/AP_MotorsTri.cpp +++ b/libraries/AP_Motors/AP_MotorsTri.cpp @@ -18,6 +18,7 @@ #include #include +#include #include "AP_MotorsTri.h" diff --git a/libraries/AP_Motors/AP_MotorsTri.h b/libraries/AP_Motors/AP_MotorsTri.h index d4c9f051b2..03a1fe6284 100644 --- a/libraries/AP_Motors/AP_MotorsTri.h +++ b/libraries/AP_Motors/AP_MotorsTri.h @@ -4,7 +4,6 @@ #include #include // ArduPilot Mega Vector/Matrix math Library -#include #include "AP_MotorsMulticopter.h" // tail servo uses channel 7