AP_VisualOdom: fix singleton panic message

This commit is contained in:
Bob Long 2024-12-15 21:02:54 +11:00 committed by Peter Barker
parent a598045fd0
commit 8229174a76
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ AP_VisualOdom::AP_VisualOdom()
AP_Param::setup_object_defaults(this, var_info);
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
if (_singleton != nullptr) {
AP_HAL::panic("must be singleton");
AP_HAL::panic("AP_VisualOdom must be singleton");
}
#endif
_singleton = this;