Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Path: blob/master/libraries/AP_Frsky_Telem/AP_Frsky_Parameters.cpp
Views: 1798
/*1This program is free software: you can redistribute it and/or modify2it under the terms of the GNU General Public License as published by3the Free Software Foundation, either version 3 of the License, or4(at your option) any later version.56This program is distributed in the hope that it will be useful,7but WITHOUT ANY WARRANTY; without even the implied warranty of8MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the9GNU General Public License for more details.1011You should have received a copy of the GNU General Public License12along with this program. If not, see <http://www.gnu.org/licenses/>.13*/14#include "AP_Frsky_Parameters.h"151617const AP_Param::GroupInfo AP_Frsky_Parameters::var_info[] = {18#if HAL_WITH_FRSKY_TELEM_BIDIRECTIONAL19// @Param: UPLINK_ID20// @DisplayName: Uplink sensor id21// @Description: Change the uplink sensor id (SPort only)22// @Values: -1:Disable,7:7,8:8,9:9,10:10,11:11,12:12,13:13,14:14,15:15,16:16,17:17,18:18,19:19,20:20,21:21,22:22,23:23,24:24,25:25,26:2623// @User: Advanced24AP_GROUPINFO("UPLINK_ID", 1, AP_Frsky_Parameters, _uplink_id, 13),2526// @Param: DNLINK1_ID27// @DisplayName: First downlink sensor id28// @Description: Change the first extra downlink sensor id (SPort only)29// @Values: -1:Disable,7:7,8:8,9:9,10:10,11:11,12:12,13:13,14:14,15:15,16:16,17:17,18:18,19:19,20:20,21:21,22:22,23:23,24:24,25:25,26:2630// @User: Advanced31AP_GROUPINFO("DNLINK1_ID", 2, AP_Frsky_Parameters, _dnlink1_id, 20),3233// @Param: DNLINK2_ID34// @DisplayName: Second downlink sensor id35// @Description: Change the second extra downlink sensor id (SPort only)36// @Values: -1:Disable,7:7,8:8,9:9,10:10,11:11,12:12,13:13,14:14,15:15,16:16,17:17,18:18,19:19,20:20,21:21,22:22,23:23,24:24,25:25,26:2637// @User: Advanced38AP_GROUPINFO("DNLINK2_ID", 3, AP_Frsky_Parameters, _dnlink2_id, 7),39#endif //HAL_WITH_FRSKY_TELEM_BIDIRECTIONAL4041// @Param: DNLINK_ID42// @DisplayName: Default downlink sensor id43// @Description: Change the default downlink sensor id (SPort only)44// @Values: -1:Disable,7:7,8:8,9:9,10:10,11:11,12:12,13:13,14:14,15:15,16:16,17:17,18:18,19:19,20:20,21:21,22:22,23:23,24:24,25:25,26:26,27:2745// @User: Advanced46AP_GROUPINFO("DNLINK_ID", 4, AP_Frsky_Parameters, _dnlink_id, 27),4748// @Param: OPTIONS49// @DisplayName: FRSky Telemetry Options50// @Description: A bitmask to set some FRSky Telemetry specific options51// @Bitmask: 0:EnableAirspeedAndGroundspeed52// @User: Standard53AP_GROUPINFO("OPTIONS", 5, AP_Frsky_Parameters, _options, 0),54AP_GROUPEND55};5657AP_Frsky_Parameters::AP_Frsky_Parameters()58{59AP_Param::setup_object_defaults(this, var_info);60}616263