mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-02 14:13:42 -04:00
0f624089f8
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com> Co-authored-by: Andrew Tridgell <tridge60@gmail.com>
25 lines
358 B
C++
25 lines
358 B
C++
#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
|