Subversion Repositories FlightCtrl

Rev

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

Rev 1910 Rev 2099
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
-
 
13
#define COMMAND_STOP    8
-
 
14
#define COMMAND_GYROCAL 2
10
#define COMMAND_GYROCAL 1
-
 
11
 
15
#define COMMAND_ACCCAL  4
12
void commands_handleCommands(void);
16
 
13
 
17
#endif
14
#endif
18
 
15