Subversion Repositories FlightCtrl

Rev

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

#ifndef _COMMANDS_H
#define _COMMANDS_H

#include <inttypes.h>
/*
 * An enumeration over the  start motors, stop motors, calibrate gyros
 * and calibreate acc. meters commands.
 */

#define COMMAND_NONE    0
#define COMMAND_START   6
#define COMMAND_STOP    8
#define COMMAND_GYROCAL 2
#define COMMAND_ACCCAL  4

extern uint8_t compassCalState;

void commands_handleCommands(void);
uint8_t commands_isCalibratingCompass(void);

#endif