OP-1287 implemented new flightmodes in plan.c
[librepilot.git] / flight / pios / inc / pios_posix.h
blob74483b4042e8c6c37aec70e3265a9f55950b1d04
1 /**
2 ******************************************************************************
4 * @file posix.h
5 * @author Corvus Corax Copyright (C) 2010.
6 * @brief Definitions to run PiOS on posix
7 * @see The GNU Public License (GPL) Version 2
9 *****************************************************************************/
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
16 * This program is distributed in the hope that it will be useful, but
17 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
18 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19 * for more details.
21 * You should have received a copy of the GNU General Public License along
22 * with this program; if not, write to the Free Software Foundation, Inc.,
23 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26 #ifndef PIOS_POSIX_H
27 #define PIOS_POSIX_H
29 #include <stdint.h>
31 typedef enum { FALSE = 0, TRUE = !FALSE } bool;
33 #ifndef false
34 #define false FALSE
35 #define true TRUE
36 #endif
38 // #define FILEINFO FILE*
40 // #define PIOS_SERVO_NUM_OUTPUTS 8
41 // #define PIOS_SERVO_NUM_TIMERS PIOS_SERVO_NUM_OUTPUTS
43 #endif /* PIOS_POSIX_H */