Path: blob/master/libraries/AP_Frsky_Telem/AP_Frsky_Parameters.h
9870 views
/*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#pragma once1516#include "AP_Frsky_Telem.h"1718#include <AP_HAL/AP_HAL.h>19#include <AP_Param/AP_Param.h>2021class AP_Frsky_Telem;2223class AP_Frsky_Parameters24{25friend class AP_Frsky_SPort_Passthrough;26public:27AP_Frsky_Parameters();2829// parameters30static const struct AP_Param::GroupInfo var_info[];3132private:33// settable parameters34AP_Int8 _dnlink_id;35#if HAL_WITH_FRSKY_TELEM_BIDIRECTIONAL36AP_Int8 _uplink_id;37AP_Int8 _dnlink1_id;38AP_Int8 _dnlink2_id;39#endif //HAL_WITH_FRSKY_TELEM_BIDIRECTIONAL40AP_Int8 _options;41};424344