Rev 2048 | 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); |
||
2052 | - | 18 | |
19 | #ifdef USE_MK3MAG |
||
2048 | - | 20 | uint8_t commands_isCalibratingCompass(void); |
2052 | - | 21 | #endif |
2048 | - | 22 | |
1775 | - | 23 | #endif |