Subversion Repositories FlightCtrl

Rev

Rev 1775 | Rev 2052 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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