ardupilot/libraries/AP_Vehicle/AP_Vehicle.cpp

19 lines
238 B
C++

#include <AP_Vehicle/AP_Vehicle.h>
AP_Vehicle *AP_Vehicle::_singleton = nullptr;
AP_Vehicle *AP_Vehicle::get_singleton()
{
return _singleton;
}
namespace AP {
AP_Vehicle *vehicle()
{
return AP_Vehicle::get_singleton();
}
};