mirror of https://github.com/ArduPilot/ardupilot
AP_Camera: populate camera singleton
This commit is contained in:
parent
af37e10126
commit
049f61c943
|
@ -38,6 +38,7 @@ public:
|
||||||
{
|
{
|
||||||
AP_Param::setup_object_defaults(this, var_info);
|
AP_Param::setup_object_defaults(this, var_info);
|
||||||
_apm_relay = obj_relay;
|
_apm_relay = obj_relay;
|
||||||
|
_singleton = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Do not allow copies */
|
/* Do not allow copies */
|
||||||
|
|
Loading…
Reference in New Issue