diff --git a/libraries/AP_Motors/examples/AP_Motors_test/AP_Motors_test.cpp b/libraries/AP_Motors/examples/AP_Motors_test/AP_Motors_test.cpp index f523b14eb4..2c77c1c7db 100644 --- a/libraries/AP_Motors/examples/AP_Motors_test/AP_Motors_test.cpp +++ b/libraries/AP_Motors/examples/AP_Motors_test/AP_Motors_test.cpp @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include @@ -52,6 +53,8 @@ AP_MotorsMatrix motors(400); //AP_MotorsSingle motors(400); //AP_MotorsCoax motors(400); +AP_BattMonitor _battmonitor{0, nullptr, nullptr}; + // setup void setup() {