Sub:add RSSI params

This commit is contained in:
Henry Wurzburg
2025-05-27 11:52:12 +10:00
committed by Peter Barker
parent 044f1ccf9f
commit 81ae61ceec
2 changed files with 10 additions and 1 deletions
+6
View File
@@ -708,6 +708,12 @@ const AP_Param::Info Sub::var_info[] = {
GOBJECT(rpm_sensor, "RPM", AP_RPM),
#endif
#if AP_RSSI_ENABLED
// @Group: RSSI_
// @Path: ../libraries/AP_RSSI/AP_RSSI.cpp
GOBJECT(rssi, "RSSI_", AP_RSSI),
#endif
// @Group: NTF_
// @Path: ../libraries/AP_Notify/AP_Notify.cpp
GOBJECT(notify, "NTF_", AP_Notify),
+4 -1
View File
@@ -219,6 +219,9 @@ public:
k_param_flight_mode6,
k_param_simple_modes,
k_param_flight_mode_chan,
#if AP_RSSI_ENABLED
k_param_rssi,
#endif
// Acro Mode parameters
k_param_acro_yaw_p = 220, // Used in all modes for get_pilot_desired_yaw_rate
@@ -366,7 +369,7 @@ public:
AP_Int8 flight_mode6;
AP_Int8 simple_modes;
AP_Int8 flight_mode_chan;
#endif
#endif
AP_Float surface_depth;
AP_Int8 frame_configuration;