mirror of https://github.com/ArduPilot/ardupilot
19 lines
238 B
C++
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();
|
||
|
}
|
||
|
|
||
|
};
|
||
|
|