Fix doc path
[opentx.git] / radio / src / opentx_types.h
blob8e818470127a3b7e6d9c711d5ea1a2e1e6ae7b36
1 /*
2 * Copyright (C) OpenTX
4 * Based on code named
5 * th9x - http://code.google.com/p/th9x
6 * er9x - http://code.google.com/p/er9x
7 * gruvin9x - http://code.google.com/p/gruvin9x
9 * License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License version 2 as
13 * published by the Free Software Foundation.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
21 #ifndef _OTXTYPES_H_
22 #define _OTXTYPES_H_
24 #if defined(CPUARM)
25 typedef uint32_t tmr10ms_t;
26 typedef int32_t rotenc_t;
27 typedef int32_t getvalue_t;
28 typedef uint32_t mixsrc_t;
29 typedef int32_t swsrc_t;
30 typedef int16_t safetych_t;
31 typedef uint16_t bar_threshold_t;
32 #else
33 typedef uint16_t tmr10ms_t;
34 typedef int8_t rotenc_t;
35 typedef int16_t getvalue_t;
36 typedef uint8_t mixsrc_t;
37 typedef int8_t swsrc_t;
38 typedef int8_t safetych_t;
39 typedef uint8_t bar_threshold_t;
40 #endif
42 #endif // _OTXTYPES_H_