From 8229174a7611eea9da643bb1bb464d9ecbe64a0f Mon Sep 17 00:00:00 2001 From: Bob Long Date: Sun, 15 Dec 2024 21:02:54 +1100 Subject: [PATCH] AP_VisualOdom: fix singleton panic message --- libraries/AP_VisualOdom/AP_VisualOdom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_VisualOdom/AP_VisualOdom.cpp b/libraries/AP_VisualOdom/AP_VisualOdom.cpp index c457627a41..ff318b36fd 100644 --- a/libraries/AP_VisualOdom/AP_VisualOdom.cpp +++ b/libraries/AP_VisualOdom/AP_VisualOdom.cpp @@ -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;