mirror of https://github.com/ArduPilot/ardupilot
AP_Parachute: Fix singleton panic message
This commit is contained in:
parent
bd0ebb5778
commit
f8b6d4b0ac
|
@ -41,7 +41,7 @@ public:
|
||||||
// setup parameter defaults
|
// setup parameter defaults
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||||
if (_singleton != nullptr) {
|
if (_singleton != nullptr) {
|
||||||
AP_HAL::panic("Rally must be singleton");
|
AP_HAL::panic("Parachute must be singleton");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
_singleton = this;
|
_singleton = this;
|
||||||
|
|
Loading…
Reference in New Issue