mirror of https://github.com/ArduPilot/ardupilot
AP_AdvancedFailsafe: fix singleton panic message
This commit is contained in:
parent
a48ff8431b
commit
a598045fd0
|
@ -58,7 +58,7 @@ public:
|
||||||
{
|
{
|
||||||
AP_Param::setup_object_defaults(this, var_info);
|
AP_Param::setup_object_defaults(this, var_info);
|
||||||
if (_singleton != nullptr) {
|
if (_singleton != nullptr) {
|
||||||
AP_HAL::panic("AP_Logger must be singleton");
|
AP_HAL::panic("AP_AdvancedFailsafe must be singleton");
|
||||||
}
|
}
|
||||||
|
|
||||||
_singleton = this;
|
_singleton = this;
|
||||||
|
|
Loading…
Reference in New Issue