ardupilot/libraries/AP_ExternalControl/AP_ExternalControl.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
358 B
C++
Raw Permalink Normal View History

#include "AP_ExternalControl.h"
#if AP_EXTERNAL_CONTROL_ENABLED
// singleton instance
AP_ExternalControl *AP_ExternalControl::singleton;
AP_ExternalControl::AP_ExternalControl()
{
singleton = this;
}
namespace AP
{
AP_ExternalControl *externalcontrol()
{
return AP_ExternalControl::get_singleton();
}
};
#endif // AP_EXTERNAL_CONTROL_ENABLED