Subversion Repositories FlightCtrl

Rev

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
 */
2189 - 9
#define COMMAND_NONE            0
10
#define COMMAND_GYROCAL         1
11
#define COMMAND_ACCCAL          2
12
#define COMMAND_GYRO_ACC_CAL    3
13
#define COMMAND_STOP            10
14
#define COMMAND_START           11
1775 - 15
 
2048 - 16
extern uint8_t compassCalState;
17
 
18
void commands_handleCommands(void);
2052 - 19
 
20
#ifdef USE_MK3MAG
2048 - 21
uint8_t commands_isCalibratingCompass(void);
2052 - 22
#endif
2048 - 23
 
1775 - 24
#endif