AP_Motors: fix example

This commit is contained in:
Peter Barker 2018-08-31 15:03:27 +10:00 committed by Lucas De Marchi
parent 2ed8118cda
commit 71c9c91c2d
1 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,7 @@
#include <AP_Declination/AP_Declination.h>
#include <AP_Airspeed/AP_Airspeed.h>
#include <AP_Vehicle/AP_Vehicle.h>
#include <AP_BattMonitor/AP_BattMonitor.h>
#include <AP_Mission/AP_Mission.h>
#include <StorageManager/StorageManager.h>
#include <AP_Terrain/AP_Terrain.h>
@ -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()
{