Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
main_recovery.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2022 Gautier Hattenberger <gautier.hattenberger@enac.fr>
3  *
4  * This file is part of Paparazzi.
5  *
6  * Paparazzi is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2, or (at your option)
9  * any later version.
10  *
11  * Paparazzi is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with paparazzi; see the file COPYING. If not, see
18  * <http://www.gnu.org/licenses/>.
19  *
20  */
21 
29 #ifndef MAIN_RECOVERY_H
30 #define MAIN_RECOVERY_H
31 
32 #include "std.h"
33 
35 #define RECOVERY_MODE_MANUAL 0
36 #define RECOVERY_MODE_FAILSAFE 2 // for compatibility will old FBW modes
37 
38 extern uint8_t recovery_mode;
39 
40 void main_recovery_init(void);
41 void main_recovery_periodic(void);
42 void main_recovery_event(void);
43 
44 #endif /* MAIN_RECOVERY_H */
void main_recovery_periodic(void)
uint8_t recovery_mode
Definition: main_recovery.c:42
void main_recovery_event(void)
void main_recovery_init(void)
Definition: main_recovery.c:89
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.
Definition: vl53l1_types.h:98