2 * This file is part of Betaflight.
4 * Betaflight is free software. You can redistribute this software
5 * and/or modify this software under the terms of the GNU General
6 * Public License as published by the Free Software Foundation,
7 * either version 3 of the License, or (at your option) any later
10 * Betaflight is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 * See the GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public
17 * License along with this software.
19 * If not, see <http://www.gnu.org/licenses/>.
28 typedef struct apConfig_s
{
29 uint8_t landing_altitude_m
; // altitude below which landing behaviours can change, metres
30 uint16_t hover_throttle
; // value used at the start of a rescue or position hold
31 uint16_t throttle_min
;
32 uint16_t throttle_max
;
41 uint8_t position_cutoff
;
45 PG_DECLARE(apConfig_t
, apConfig
);