Subversion Repositories FlightCtrl

Rev

Rev 1910 | Rev 2102 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1910 Rev 2099
Line 1... Line 1...
1
#ifndef _COMMANDS_H
1
#ifndef _COMMANDS_H
2
#define _COMMANDS_H
2
#define _COMMANDS_H
Line 3... Line 3...
3
 
3
 
4
#include <inttypes.h>
-
 
5
void commands_handleCommands(void);
-
 
6
 
4
#include <inttypes.h>
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
-
 
12
#define COMMAND_START   6
-
 
13
#define COMMAND_STOP    8
9
#define COMMAND_NONE    0
-
 
10
#define COMMAND_GYROCAL 1
14
#define COMMAND_GYROCAL 2
11
 
Line 15... Line 12...
15
#define COMMAND_ACCCAL  4
12
void commands_handleCommands(void);