From 2c23ae970f97f559ff1157f889e86beae80f3504 Mon Sep 17 00:00:00 2001 From: Tom Pittenger Date: Wed, 15 Nov 2023 23:35:16 -0800 Subject: [PATCH] AP_Periph: allow showing SerialManager params without HAL_GCS --- Tools/AP_Periph/Parameters.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tools/AP_Periph/Parameters.cpp b/Tools/AP_Periph/Parameters.cpp index 80b3ae7d44..02da8a657a 100644 --- a/Tools/AP_Periph/Parameters.cpp +++ b/Tools/AP_Periph/Parameters.cpp @@ -443,7 +443,9 @@ const AP_Param::Info AP_Periph_FW::var_info[] = { // @Range: 1 255 // @User: Advanced GSCALAR(sysid_this_mav, "SYSID_THISMAV", MAV_SYSTEM_ID), +#endif +#if HAL_GCS_ENABLED || defined(HAL_PERIPH_SHOW_SERIAL_MANAGER_PARAMS) // @Group: SERIAL // @Path: ../libraries/AP_SerialManager/AP_SerialManager.cpp GOBJECT(serial_manager, "SERIAL", AP_SerialManager),