Skip to content

Commit

Permalink
AP_VisualOdom: fix singleton panic message
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlong13 authored and peterbarker committed Dec 15, 2024
1 parent a598045 commit 8229174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_VisualOdom/AP_VisualOdom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8229174

Please sign in to comment.