5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-17 14:18:31 -04:00
ardupilot/libraries/AP_Vehicle/AP_Vehicle.cpp
2019-10-15 13:24:20 +11:00

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();
}
};