NinjaFlight
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
gimbal.h
Go to the documentation of this file.
1
/*
2
* This file is part of Ninjaflight.
3
*
4
* Copyright: collective.
5
* Cleanup: Martin Schröder <mkschreder.uk@gmail.com>
6
* Original source from Cleanflight.
7
*
8
* Ninjaflight is free software: you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation, either version 3 of the License, or
11
* (at your option) any later version.
12
*
13
* Ninjaflight is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with Ninjaflight. If not, see <http://www.gnu.org/licenses/>.
20
*/
21
22
#pragma once
23
24
typedef
enum
{
25
GIMBAL_MODE_NORMAL
= 0,
26
GIMBAL_MODE_MIXTILT
= 1,
27
GIMBAL_MODE_MAX
28
}
gimbalMode_e
;
29
30
struct
gimbal_config
{
31
uint8_t
mode
;
32
}
__attribute__
((packed)) ;
33
gimbal_config
Definition:
gimbal.h:30
GIMBAL_MODE_NORMAL
Definition:
gimbal.h:25
gimbalMode_e
gimbalMode_e
Definition:
gimbal.h:24
gimbal_config::mode
uint8_t mode
Definition:
gimbal.h:31
GIMBAL_MODE_MIXTILT
Definition:
gimbal.h:26
GIMBAL_MODE_MAX
Definition:
gimbal.h:27
__attribute__
typedef __attribute__
src
main
config
gimbal.h
Generated on Mon Dec 12 2016 15:48:45 for NinjaFlight by
1.8.7