Subversion Repositories FlightCtrl

Rev

Rev 1775 | Rev 2052 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1775 Rev 2048
1
#ifndef _COMMANDS_H
1
#ifndef _COMMANDS_H
2
#define _COMMANDS_H
2
#define _COMMANDS_H
3
 
3
 
4
#include <inttypes.h>
4
#include <inttypes.h>
5
void commands_handleCommands(void);
-
 
6
 
-
 
7
/*
5
/*
8
 * An enumeration over the  start motors, stop motors, calibrate gyros
6
 * An enumeration over the  start motors, stop motors, calibrate gyros
9
 * and calibreate acc. meters commands.
7
 * and calibreate acc. meters commands.
10
 */
8
 */
11
#define COMMAND_NONE    0
9
#define COMMAND_NONE    0
12
#define COMMAND_START   6
10
#define COMMAND_START   6
13
#define COMMAND_STOP    8
11
#define COMMAND_STOP    8
14
#define COMMAND_GYROCAL 2
12
#define COMMAND_GYROCAL 2
15
#define COMMAND_ACCCAL  4
13
#define COMMAND_ACCCAL  4
-
 
14
 
-
 
15
extern uint8_t compassCalState;
-
 
16
 
-
 
17
void commands_handleCommands(void);
-
 
18
uint8_t commands_isCalibratingCompass(void);
16
 
19
 
17
#endif
20
#endif
18
 
21